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

Android - like UICollectionView

I want to create a ui that like below : UICollectionView Sample There are some view and layout for this behaviour on android. GridView: Fixed column number. It is useless for upper case. StaggeredGridLayoutManager: Constructor requires span count.…
0
votes
1 answer

Reordering issue in Staggered GridView Layout

I have an issue while using staggered GridView Layout. After I delete an element from the list, the item in the staggered gridview don't properly rearrange themselves. I mean, they leave lots of empty spaces above them. Here are some pictures of…
0
votes
1 answer

Staggered Grid View for Older API

I need staggered view for compileSdkVersion 26 minSdkVersion 15 targetSdkVersion 25 https://developer.android.com/reference/android/support/v7/widget/StaggeredGridLayoutManager.html needs API 22 o r higer.
0
votes
1 answer

Staggeredgridview inside swiperefreshlayout goes empty on swipe refresh

I have a StaggeredGridview inside a SwipeRefreshLayout which goes empty when i refreshes the grid using the swipe action even though my list is not empty (data). If i use the LinearLayoutManager instead of StaggeredGridLayoutManager everything is…
0
votes
0 answers

use EtsyStaggeredGridView library on my project but didn't work?

I use EtsyStaggeredGridView library on my project when I get from the tutorial. But I do not know where the error lies.
0
votes
1 answer

unknown extra space source in staggered grid view

this is my first time to use cards i got some extra space don't know where it comes from this is my card view
0
votes
0 answers

StaggeredList RecyclerView for varying size of Thumbnails

I'm creating a photo gallery sort of thing and am using RecyclerView for this Staggered List. LEFT one is what IT SHOULD LOOK LIKE and the RIGHT side shows how IT LOOKS LIKE RIGHT NOW. And this is what my code looks like. Code where adapter is…
Ketan Malhotra
  • 1,255
  • 3
  • 16
  • 44
0
votes
1 answer

Staggered Gridview (Recycleview) with load more functionality inside the NestedScrollView

I want to implement the load more functionality inside my Staggered gridview. I have tried some lines of code for it like using addOnScrollListener but did not call when i come to the bottom the list. Please find my code which i have tried to…
0
votes
1 answer

gridview images with different alignment

I need to do something like this . It is similar to staggered gridview but all image has same dimension . How do i do this ?
randy
  • 765
  • 7
  • 24
0
votes
2 answers

How to autofit an item using setSpanSizeLookup?

I am trying to make this type of layout using setSpanSizeLookup by GridLayoutManager. Does anyone know how to autofit an item by calculating width of the item and auto adjust like image? If there is some another way then please suggest me. Here is…
0
votes
0 answers

StaggeredGridLayoutManager bug

I have such problem. All my images in recycler view transfering to right side. This is my adapter adapter = new GalleryAdapter(new ArrayList<>(), galleryImage -> galleryLocationPresenter.openGallery(galleryImage), getContext()); …
0
votes
1 answer

Xamarin Android Fluid GridLayout

I am searching for a way to implement a fluid grid to display squares. I found the RecyclerView combined with a StaggeredLayoutManager. The problem is that I just found the layout with a fixed column width. But I also want to have a variable row…
Freshchris
  • 1,211
  • 4
  • 17
  • 34
0
votes
2 answers

Windows phone 8.1 Implement virtualization for Custom variable sized Gridview

I have implemented custom itempanel for gridview to support variable item height using this link posted by JerryNixon.My Custom panel supports 3 different sized template(depending on image dimension I am deciding which template to use).This custom…
0
votes
1 answer

StaggeredGridLayoutManager left a gap before a full span element

I have a RecyclerView with a StaggeredGridLayoutManager. The problem is that before a full span element there is a gap that I need to fill, increasing/decreasing the height of the last two elements. A picture of the problem: Just 2 columns are…
Julio_oa
  • 570
  • 6
  • 15
0
votes
1 answer

How to change icon using list to grid

I am changing list to grid and grid to list using StaggeredGridlayoutmanager, but i want to change icon while changing the view,,like if view is in list mode i want to display grid icon and and view is in grid mode i want to display list mode case…