Questions tagged [staggeredgridlayout]
99 questions
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…

Shiv Pandey
- 9
- 7
0
votes
1 answer
how can I center items in each row in recyclerview staggeredgridlayout?
There is few examples about recyclerview, I havent found any related solution, Ill be glad if someone helps me. I just want make my view looks as in the left part of the photo
The right view is what I've done and the left view is what I want to…

ziyaddin.ovchiyev
- 63
- 5
0
votes
1 answer
How to remain spanindex for StaggeredGridLayoutManager
I am using RecyclerView with StaggeredGridLayoutManager for 2 SpanCount. each item has following layout.

RyanShao
- 429
- 2
- 9
0
votes
1 answer
how to control SwipeRefreshLayout and Endless Fuction on Scroll StaggeredGrid RecyclerView?
I try commbine StaggeredGrid RecyclerView with Endless and SwipeRefreshLayout. but I have issue with my code :
grid.addOnScrollListener(new RecyclerView.OnScrollListener() {
@Override
public void onScrolled(RecyclerView…

Amay Diam
- 2,561
- 7
- 33
- 57
0
votes
1 answer
Why RecyclerView is scrolling way too more above the first item and flickering while scrolling?
EDIT: The problem is solved !!
My RecyclerView flickers while scrolling. There are 5-6 items in single screen.
When I scroll down, the screen flickers and the scroller jumps back to the top of the RecyclerView. Now after that if I scroll up again,…

Mubin Shrestha
- 398
- 3
- 22
0
votes
2 answers
RecyclerView + StaggeredGridLayout + Picasso get GridItem width
m using RecyclerView with StaggeredGrid (spanCount is variable). Each GridItem (a CardView) contains an a square ImageView. What i want is to load an Image from my backend with desired width and height to exactly fit an ImageView inside a CardView.…

localhost
- 5,568
- 1
- 33
- 53
-2
votes
3 answers
Crash with Staggered Layout Manager of Recycler View
I load recycler normally and data is shown properly. But I have requirement to recreate my actvity on certain condition. When I recreate my activity, Recycler view is initialized again and is loaded with new set of data. But this time I get a crash.…

ajay
- 886
- 2
- 12
- 27
-2
votes
1 answer
Dynamic columns in RecyclerView
i want to create a grid in android wherein suppose
if i pass an arraylist with 5 elements first row should have 3 columns and next row should have 2 columns with centered
if i pass an arraylist with 6 elements first row should have 3 columns and…
user3156352
-3
votes
1 answer
Android Cardview with picasso, recyclerview
i'm new in this forum.
I have a problem with CardView.
I use recyclerview to binding data and to show a big list of image using picasso with staggeredgridlayoutmanager.
But when i scroll the view, the image refresh (naturally), the cards change…

Jaivra
- 1
- 1