Questions tagged [staggeredgridlayoutmanager]
53 questions
1
vote
2 answers
How to set different background with different column with RecyclerView with StaggeredGridLayoutManager?
I have a RecyclerView using StaggeredGridLayoutManager, 2 columns for example, I want to set different backgrounds for the first column and second column, how to do this, thanks in advance.

twlkyao
- 14,302
- 7
- 27
- 44
1
vote
2 answers
Work With StaggeredGridLayotManager?
I want to use a StaggeredGridLayoutManager to have a vertical list with two columns and each row has 3 parts.
What exactly should I do?

abolfazl fakhari
- 21
- 3
0
votes
0 answers
Accessibility talk-back skips some of the items in staggered RecyclerView
Accessibility talkback skipping some of the items in RecyclerView with the Staggered layout manager.
Steps to reproduce the issue:
Run the project on any device (Verified in Samsung s10)
Enable Accessibility talkback in the device.…

John Ruban Singh
- 1,284
- 14
- 19
0
votes
0 answers
How to use recyclerview:1.2.0-alpha02 for saving and restoring recyclerview position
I'm searching on how can I save and restore the recycler view position for my app (never tried to implement saving and restoring the position of recycler view) and after seeing many different ways to implement I found an interesting way wherewith…

Vasant Raval
- 257
- 1
- 12
- 31
0
votes
1 answer
Pagination not working with staggered grid layout android
Hello im trying to include pagination in my recylerview but dont know why it is not working with
staggeredgrid layout this the question im searching for and becuase the answer are for linearlayoutmanager i got an answer for how to implement…

Vasant Raval
- 257
- 1
- 12
- 31
0
votes
1 answer
HetrogenousImagesLayout/AsymmetricGridView using Flutter GridView
How to make a design like this using Flutter GridView
Please help

SemiColon
- 111
- 1
- 4
0
votes
0 answers
StaggeredGridLayoutManager strange effect when list scrolled
I have to implement a list of images like pinterest's one (a grid with asymmetrical rows), and i have used StaggeredGridLayoutManager in this way in my fragment:
ScenarioFragment
scenarioAdapter = Adapter(mutableListOf()) {
…

giordy16
- 275
- 1
- 12
0
votes
2 answers
Problem not visible item in Honor 6x (Recyclerview with StaggeredGridLayoutManager)
I am using Recyclerview whose layer is StaggeredGridLayoutManager. The problem is that in most phones the items are displayed but in Honor 6x phones the items are not displayed but they can be clicked.
I set the items rotationY:180 to show right to…

Mohammad Hasan Salmanian
- 197
- 4
- 20
0
votes
1 answer
How to save spanCount of RecyclerView on Shared Preferences?
my question is is there a way to save the SpamCount of a ReciclerView in SharedPreferences?
I try to make a List that can change the view from a "List mode" to "Grid mode" and save that information in SharedPreferences so that the "List View" will…

Bones ipsilon
- 5
- 4
0
votes
1 answer
Staggered horizontal Recyclerview Android, help needed
What I'm trying to achieve is to create a RecyclerView which scrolls horizontally, and the items should appear in different sizes similar to the drawing started from 0 position and so on. What i have tried so far is:
played with position of items…

Astrit Veliu
- 1,252
- 1
- 12
- 22
0
votes
0 answers
Recyclerview with Staggered Grid LayMan
I want to achieve the black arrow exit gate with respect to the seat, as the arrow key is present in the individual seat detail object.
I am using a runtime RecyclerView with staggered GridLayoutManager to populate seat, but cannot achieve the black…

Abhilash Gupta
- 63
- 8
0
votes
1 answer
tiny images when using StaggeredGridLayoutManager
I have a recyclerview inside of a viewholder item that is for displaying up to 5 images nicely along with some other text. it's working pretty good except that the images are mega tiny looking, I'm not sure where I'm going wrong.
the main viewholder…

Eman
- 1,093
- 2
- 26
- 49
0
votes
1 answer
RecyclerView StaggeredGridLayoutManager FindFirstVisibleItemPositions always is 0 (androidx)
I want to try the lazy loading in recyclerView by staggeredGridLayoutManager, but the FindFirstVisibleItemPositions function can't find the first visible item position, that always return 0 and 1(I have 2 columns), and the onScrolled just will…

Gu-Han Tu
- 1
- 1
0
votes
0 answers
Android CardView with StaggeredLayout
I am kinda new to Android and I am experimenting with different layouts and so on. Today, I was creating RecyclerView with CardViews as items. All great, but I also found staggered layout manager. So I created RecyclerView with staggered view, and…

golobitch
- 1,466
- 3
- 19
- 38
0
votes
1 answer
TalkBack accessibility StaggeredGridLayoutManager wrong focus order
So I'm trying to make my app accessible with the TalkBack function.
I'm trying to go over 22 items in a RecyclerView with layout manager StaggeredGridLayoutManager (Staggered GridView) and I expect the focus to go by the order like the item's…

Yonibagi
- 147
- 10