staggeredgridlayout Questions
4
Hi I got error report from Fabric on my apps -> IndexOutOfBoundsException on StaggeredGridLayoutManager calculateCachedStart() method
There is many usage StaggeredGridLayoutManager on my apps.
Any...
Trichiasis asked 15/6, 2017 at 15:51
2
I'm getting some crash reports about a NullPointerException happening in StaggeredGridLayoutManager. Looks like around 10% of my users are suffering this issue.
I have a very basic RecyclerV...
Eclipse asked 26/3, 2015 at 20:53
4
My items has different layouts and sometimes I create a gap or gaps on top of RecyclerView by dragging items in layout. When I scroll back to the top of RecyclerView some items are reordered and ga...
Pallium asked 31/1, 2017 at 7:46
3
Solved
I have a staggered grid that has 2 columns. This is working. What I want is at position 0 for the row to span across the 2 columns. I have done this before quite easily using GridLayoutManger as so...
Winterfeed asked 13/11, 2015 at 15:24
3
Solved
I wanted to display variable number of columns in a row of GridLayoutManager while using RecyclerView. The number of columns to be displayed depends on the size of the column's TextView.
I don't k...
Chlorpromazine asked 24/9, 2015 at 14:3
9
I'm using RecyclerView with StaggeredGridLayoutManager to make a two-column list. But how to set a right margin between left column and right column. I have used this code to make right margin from...
Caucus asked 7/3, 2015 at 9:11
4
I am using staggered grid layout. the following is the code:
StaggeredGridLayoutManager glm= new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL);
glm.setGapStrategy(StaggeredGri...
Arlynearlynne asked 15/9, 2016 at 5:40
5
Solved
I am having a problem showing RecyclerView with StaggeredGridLayoutManager whose item contain an imageview and the image is loaded in imageview using glide.
The problem i am facing is that after im...
Calibrate asked 22/3, 2016 at 8:15
2
Solved
I'm trying to use multiple ViewHolders in a RecyclerView in order to swap these views out at run time. I have created two classes which extend RecyclerView.ViewHolder:
MenuItemViewHolder
public c...
Milky asked 16/8, 2015 at 23:6
8
Solved
I have created a very simple project, displaying 28 images with StaggeredGridLayoutManager by recyclerview. but as I scroll the recyclerview it moves items for example from left to right or swap th...
Swinge asked 24/12, 2014 at 12:32
2
Solved
I have a Staggered grid containing 370 items, with images.
I want to make sure the items are recycled quickly to be careful with memory, but a ViewHolder is created and then bound for every singl...
Pisci asked 1/11, 2016 at 0:8
4
I already tried to implement the endless scrolling for LinearLayoutManager and it is successful and tried to copy the LinearLayoutManager implementation to StaggeredGridLayoutManager but it doesn't...
Soapberry asked 16/3, 2015 at 14:35
4
Solved
I am working in android material design api & want to display some data in grid format. I tried both GridLayout and StaggeredGridlayout and both look same. For general information, i want to as...
European asked 11/12, 2015 at 5:45
2
I'm using recycler view with GirdLayout Manager for creating bus layout. My problem is with spacing, I'm populating data according to row column.
This is how I'm getting layout:
This is how I want...
Carolyn asked 9/9, 2016 at 12:46
1
Solved
I want add a headerview like listview into recyclerview with staggeredGridLayoutManager. I have search all library and only found this one RecyclerHeaderView but this library have limitation for Li...
Mainmast asked 26/4, 2016 at 17:35
2
Solved
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 Asymemetr...
Cinerary asked 28/3, 2016 at 12:27
2
Solved
I’m using a staggered recycler view layout for a list of photos. I want the spacing on the sides to be zero while still having space between the two columns. I’m using an item decoration sub class ...
Milt asked 3/2, 2016 at 21:48
3
Solved
I have a StaggeredGrid in a RecyclerView and I am trying to dynamically set the image height in the onBindViewHolder. I thought the StaggeredGrid was supposed to handle all this automatically, so I...
Kentledge asked 1/7, 2015 at 11:52
1
I'm trying to take a RecyclerView with a StaggeredGridLayout and make it a fixed height by having it measure the views and set the height dynamically. I'm overriding the onMeasure(), but it does no...
Cremator asked 21/10, 2015 at 17:48
1
I'm using vertical StaggeredGridLayoutManager to display some thumbnails. Each row contains a cardview with 1 inch width and 150dp height. My question is How can i set the staggered grid span count...
Monocyclic asked 16/8, 2015 at 7:59
1
© 2022 - 2024 — McMap. All rights reserved.