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
3
votes
1 answer

Scrolling makes Gap in Staggered Gridview

There is a Gap issue with my Staggered Gridview layout with scrolling. I am using pagination in this gridview. If i scroll continues up and down and then after i scrolls top a gap on there. Activity Code staggeredGridLayoutManager = new…
Rose
  • 176
  • 1
  • 1
  • 10
3
votes
2 answers

Android Ellipsize marquee is not working except on the first item

I am trying to design a staggered layout manager for recycler view and each item of the recycler view inflates a cardview. The problem is whenever I try to apply marquee in my item, the only first item gets the expected marquee behavior and other…
Aveek
  • 849
  • 1
  • 12
  • 28
3
votes
2 answers

Clickable TextViews in Staggered GridView

I am trying to show dynamic list of strings in GridView. Every word will be clickable and can be selected or deselected. I am attaching a screenshot of Flipboard as I want exactly the same functionality. Please help me to find out the same…
user1288005
  • 890
  • 2
  • 16
  • 36
3
votes
1 answer

Android Espresso 2.0 stuck on clicking gridview item

I want to create Espresso tests for my Android app. I have a StaggeredGridView (StaggeredGridView Github ) with lots of grid items (~1000) made of custom models (Recipe.class)
Slenkra
  • 820
  • 1
  • 8
  • 14
3
votes
2 answers

Android: How to create a Facebook like images gallery grid?

I'm trying to implement a facebook like, gallery grid, where items have different sizes: I was trying to use different libraries/solutions but for now without success: I tried to use AsymemetricGridView. But the problem with this implementation is…
Emil Adz
  • 40,709
  • 36
  • 140
  • 187
3
votes
2 answers

Android RecyclerView StaggeredGrid items change position when scrolling top

In my Staggered Grid with 2 columns I use the effect of infinite list to automatically load elements 10 by 10, everything works fine except when I scroll up. The first two elements change their position. It is like the first two items jump from one…
3
votes
2 answers

Android RecyclerView StaggeredGrid items changing position on scrolling

My problem is that the items keep interchanging when I'm scrolling through the list. How can I make their position fixed? My layout:
Bogdan Daniel
  • 2,689
  • 11
  • 43
  • 76
3
votes
0 answers

CardGridStaggeredView cards disappear

I am using CardGridStaggeredView to display cards in my Activity, the problem is that when I use 2 or more columns, the cards disappear while scrolling. this is my xml file:
3
votes
4 answers

How to implement Staggered GridView with Sections?

I just want to implement sections in Staggered GridView. such as Today, Yesterday and Other. I have tried with below libraries but I have no luck. Staggered GridView RecyclerView with StaggeredGridLayoutManager. Can you give any suggestion on…
2
votes
4 answers

How to implement staggered grid view with SLIVERS in Flutter?

I want to implement a Staggered GridView, because my SliverGrid delegate requires an aspect ratio, and I want the grid items to be dynamically sized which is only possible with staggered gridview as far as I know. My question is how can I implement…
2
votes
2 answers

How to center a tile within a StaggeredGridView

I'm working with a StaggeredGridView within Flutter and I don't seem to see a way to center a tile if a tile is going to be the only tile in that "row". For example, if I set the crossAxisCount of the StaggeredGridView to something like 6; and then…
Blau
  • 331
  • 3
  • 12
2
votes
1 answer

Flutter "Incorrect use of ParentDataWidget." when using Staggered Grid View~ @_@

@_@ I was thinking to make the widgets inside the GridView to have a different height according to their dynamic content height, and those widgets are Containers with an Expanded Column inside. But it then gave me…
Ryan Wang
  • 418
  • 7
  • 23
2
votes
0 answers

Recyclerview with StaggeredGridLayoutManager is not closing gaps at the bottom

I have implemented a simple recyclerview with StaggeredGridLayoutManager as follows: activity_main.xml
2
votes
0 answers

Flutter staggered gridview with draggable tiles

I am looking for a layout that looks similar to staggered grid view but with tiles that can be re-sizable and re-ordered (draggable). Any thoughts, how this can be achieved? something like this: http://hootsuite.github.io/grid/
2
votes
0 answers

RenderBox was not laid out:(StaggeredGridView Widget)

I ran into error which said. RenderBox was not laid out: RenderViewport#b889d NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE 'package:flutter/src/rendering/box.dart': Failed assertion: line 1702 pos 12: 'hasSize' Here is the description of the…
Siva Jagadesh
  • 343
  • 2
  • 10
1 2
3
12 13