Questions tagged [staggered-gridview]

An Android staggered grid view which supports multiple columns with rows of varying sizes.

An Android staggered gridView which supports multiple columns with rows of varying sizes.

The StaggeredGridView was developed due to requirements for the Etsy app not met by any existing Android libraries. Namely a stable implementation with the ability to have a different number of columns in landscape & portrait, to sync grid position across orientation changes and support for headers & footers.

The most famous example of a staggered gridview is probably the one from etsy: https://github.com/etsy/AndroidStaggeredGrid

195 questions
0
votes
1 answer

int android.widget.ListAdapter.getCount() issue in StaggeredGridView

I am using StaggeredGridView to display GridView item based on item height. It is working fine in many versions. But, recently I found that it is showing error in android 5.1. I am sharing Logcat as below. Please check it out help me to solve this…
Jeeten Parmar
  • 5,568
  • 15
  • 62
  • 111
0
votes
1 answer

Staggered View with Recyclerview

i am creating staggered view inside RecyclerView and showing SD card folder images. What i have done : I managed to create folder on SD card and saving all clicked images there . iSSUE : Now i am unable to show those images in folder on staggered…
0
votes
1 answer

Staggered View rows and columns are not changing

My Staggered view is implemented like this MyApp but it should look like this Demo And i'm not able to change the rows and columns If i'm changing columns its fine but if i change row more than 1, then i get invalidOrientation warning but app runs…
0
votes
1 answer

Android - LinearLayout childs dispose like StaggeredGridView

I have 4 elements (images) in LinearLayout which i want to dispose like the StaggeredGridView. Can I do this with a LinearLayout ? There is other method ? The images are added dynamically
Okn
  • 698
  • 10
  • 21
0
votes
2 answers

howt to solve the getview's position is cofusition in the baseadapter in android

@Override public View getView(int position, View convertView, ViewGroup parent) { ViewHolder helper = null; Log.i("StaggeredGridView--Adapter:", "position:" + position); if(convertView ==null){ helper = new ViewHolder(); …
0
votes
1 answer

Android Recycler StaggeredGrid divider

My problem is that I've been trying to put some black lines between the elements of the staggeredGrid, but I can't seem to get it to work properly. I found this class which adds spaces between each individual item: public class SpacesItemDecoration…
Bogdan Daniel
  • 2,689
  • 11
  • 43
  • 76
0
votes
1 answer

Getting mScrollListener listener null in StaggeredGridView

I Have implemented a custom grid-view in my application.i am using StaggeredGridView.I am able to implement it in my code but now when i try to scroll the Grid-view my application crashes as its getting mScrollListener null i am not getting that…
sid
  • 1,116
  • 1
  • 10
  • 27
0
votes
2 answers

the Staggered Grid View in view pager does not set the adapter properly

my Staggered Grid View adapter works properly in api 19 or higher.but when i run in api 17 or lower i seen that the adapter not set properly.if i change the Staggered Grid View with Grid View it works fine and it shows that my adpter class is work…
0
votes
2 answers

Can you add 2 types of items to the stggeredListView?

My app uses com.etsy.android.grid.StaggeredGridView and i have an adapter that populates the staggered grid with a custom item. I now want to add another custom item to that grid. Can this be done? I have 2 custom item xmls and 2 layoutadapters.…
Fearghal
  • 10,569
  • 17
  • 55
  • 97
0
votes
1 answer

staggeredgridview change grid number & save data on screen orientation android

I'm using the StaggeredGridView to load image and data via webservice. In portrait mode i have 2 grids, in landscape mode i have 3 grids. I want to save the instance when i change the screen orientation to avoid the synctask from re-execute. I…
0
votes
0 answers

windows tile onclick animation on android

I am using staggered gridview from etsy library to arrange my icons like in windows tile. Now I would like to have some animations similar to the one on windows mobile (when you click on an icon in your windows homescreen, the icon tiles tend to fly…
Krish3090
  • 79
  • 2
  • 14
0
votes
2 answers

RecyclerView + SGLM layout implementation

So.. I'm developing an android app that requires a StaggeredGridLayoutManager and the new RecyclerView for displaying different boxes of content across the screen. I have already made some tests ( see imgur screenshot below ) and i get the general…
0
votes
0 answers

Android StaggeredView implementation with col span

I'm trying to get a layout design like this and for that I'm using the GitHub library https://github.com/maurycyw/StaggeredGridView as recommendation made in other questions in this website. My problem is that I can't get a design like that, with…
korima
  • 306
  • 5
  • 12
0
votes
0 answers

staggered grid view adding new items dynamically (on scrollfinished listener)

I am using Android Staggered Grid View in amy app and as it doesnot have any OnScrollListener.So i followed following tutorial to add one. Android - OnScrollListener for Staggered Grid View I am able to get the event of scrolling finished and also…
user93796
  • 18,749
  • 31
  • 94
  • 150
0
votes
2 answers

Android Application Development AndroidStaggeredGrid Library, can not see the images in StaggeredGrid view format

I am developing an android application, where I suppose to show all the gallery images in a fragment. I have got the fragment working with all gallery images in it as thumbnails. Then I wanted to show all images in Mosaic Format but could not find…
1 2 3
12
13