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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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.