99 questions
0 votes
1 answer
52 views
How to create design Android using recyclerView with dynamic item
I want to make an Android design with Kotlin like this.How do I create a design like that with recyclerView? If you scroll, the bottom display will be like the design example above too. sample design ...
2 votes
2 answers
2k views
how to make Lazy Vertical Staggered Grid's item wrap content
I want my Lazy Vertical Staggered Grid's items to take size of it's content. Contents are of different size. I want all the item of Lazy Vertical Staggered Grid to display the full text but it's not ...
0 votes
0 answers
189 views
How to remove padding in RecyclerView when using StaggeredGridLayoutManager?
When I scroll the elements down and then back up, the elements get mixed up and there's a weird padding. I tried to set the gap strategy to GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS, but then the paddings ...
0 votes
1 answer
257 views
HetrogenousImagesLayout/AsymmetricGridView using Flutter GridView
How to make a design like this using Flutter GridView Please help
0 votes
2 answers
109 views
Retrieving images from firebase into a StaggeredGridLayout Android
I'm trying to get images from firebase into a StaggeredGridLayout which is a fragment but getting some errors that i can't resolve error: incompatible types: cannot infer type arguments for ArrayList&...
0 votes
1 answer
199 views
How to control left and right handed layout placement in an Android RecyclerView
I have a left handed and right handed layout which need to be placed in the appropriate column in a RecyclerView. I'm using a StaggeredGridLayout as the layouts can be of different sizes as well. I'm ...
2 votes
0 answers
136 views
Recyclerview with StaggeredGridLayoutManager is not closing gaps at the bottom
I have implemented a simple recyclerview with StaggeredGridLayoutManager as follows: activity_main.xml <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android....
0 votes
0 answers
289 views
Wrong item layout direction in StaggeredGridLayoutManager unsing RecyclerView Android
I am facing issues while placing items in staggered view vertically with span count 2. if the item count is 3 and first item height is greater, third item is aligning to right(4th place)leaving 3rd ...
0 votes
1 answer
231 views
How to make the first row of RecyclerView contains custom number of items?
What I want to reach at the end, a view like this image, Click me I have RecyclerView and I am using GridLayoutManager. I want to have 5 items of the list in the first row. The rest of the rows ...
1 vote
1 answer
343 views
Screen to staggered isometric grid algorithm
I'm working with Kivy and Pytmx, I need to get Grid Tile from Map Coordinates for staggered map. mymap My tile size is: TILE_WIDTH = 256 TILE_HEIGHT = 149 When I used the isometric diamond grid, I ...
1 vote
3 answers
933 views
Full width footer or last item in RecyclerView using StaggeredGridLayout
So this is pretty tricky. The closest thing I have found to get this working is a modified version of this answer. Where I make the last item the same height as the view I want to be full width and ...
0 votes
1 answer
192 views
Staggered Grid Layout used to load the images from Real time database not showing
I have created a Staggered Grid Layout to load the images from Firebase but it is not working properly. Loaded the images using picasso and used realtime database to read the items... Showing no error ...
3 votes
1 answer
378 views
Android how can I achieve a arrow based layout?
I want to know how is possible to achieve a arrow-based layout like this : Any idea about what Layout is using this app in order to achieve that layout ? It seems like a kind of Staggered Grid Layout ...
0 votes
1 answer
252 views
Is it possible to have a vertical recycler view with different widths for each row?
I am creating a recycler view and I have 2 types of itemviews in it. Each item view would have different widths(55dp for one and MatchParent for the another). If I create a recycler view with first 4 ...
2 votes
3 answers
998 views
Why is my staggered grid layout unbalanced?
I've created a recycler view, and its layout is managed using staggered grid layout. But the result is not balanced, anyone can help? What I've done is : val manager = StaggeredGridLayoutManager(2, ...