gridlayoutmanager Questions
2
I am trying to make items of the last row center horizontal in recycler view. I am using GridLayoutManager in order to achieve the functionality. Using setSpanSizeLookup, I want to adjust span size...
Norval asked 20/12, 2016 at 11:22
4
Solved
What I want to achieve:
Have a RecyclerView with GridLayoutManager that supports drag'n'drop and that rearranges the items while dragging.
Side note: First time developing anything with drag and d...
Burchette asked 27/4, 2015 at 16:19
3
I want to use RecyclerView with GridLayoutManager to achieve something like that:
Here is GridLayoutManager with horizontal orientation and 2 rows. What's important for me here is that RecyclerV...
Alviani asked 10/7, 2019 at 14:2
1
Solved
I have different types of items being rendered in a RecyclerView using a GridLayoutManager with dynamic column number. The problem is, I have an RecyclerView.ItemDecoration which is to be applied f...
Rosenfeld asked 26/6, 2019 at 14:54
2
I need the RecyclerView Gridlayout Manager with horizontal scrollable behavior. It must add child views like it does when it has VERTICAL orientation (column wise index for e.g. (row 1, col 1) = in...
Langille asked 20/12, 2017 at 16:18
3
I'm in a challenge to build a layout like this:
My first insight was to use a RecyclerView with an adapter that can deal with each item and inflate its layout.
So far, not so good.
I got this ...
Anissaanita asked 20/8, 2015 at 4:38
3
Solved
I am trying to add custom divider in RecyclerView with GridLayoutManager but not getting success, i have searched a lot and looked into below mention answer but it didn't help me
link 1
link 2
lin...
Westerly asked 14/9, 2016 at 12:10
2
Solved
I have a RecyclerView with a GridLayoutManager with spanCount=2 and a Vertical orientation.
My items are correctly displayed as the image below:
Now I need to add an animation that when a click...
Midtown asked 20/11, 2018 at 10:57
1
layout design:
HorizontalScrollView-parent, holding RV[
RecyclerView=>(GridLayoutManager) (orientation verticle)]
Which will basically do a two way scroll. This UI is built for TV. The focus...
Johnathon asked 4/10, 2018 at 21:49
5
Solved
I'm trying to fill some data into a RecyclerView with GridLayoutManager:
GridLayoutManager layoutManager = new GridLayoutManager(this, 3, GridLayoutManager.VERTICAL, false);
This will fill the d...
Maund asked 3/10, 2015 at 9:15
2
I have a RecyclerView with GridLayoutManager (support lib v7). I update adapter and make notifyItemMoved. If the item source position is on the screen and the destination position is on the screen ...
Mentholated asked 21/3, 2015 at 0:39
4
I have a problem with ItemTouchHelper of RecyclerView.
I am making a game. The game board is actually a RecyclerView. RecyclerView has GridLayoutManager with some span count. I want to implement d...
Short asked 10/3, 2016 at 15:24
2
I'm trying to improve the user experience while scrolling a grid of images by prefetching views ahead of time using the new API introduced in the support library 25.1 for controlling the number of ...
Dusen asked 26/10, 2017 at 15:40
3
Solved
I am planning to create a paginated scroll-to-bottom RecyclerView. But the onScrolled callback isn't being fired at all:
mBooksRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener()...
Subaquatic asked 27/4, 2018 at 3:52
1
Solved
I'm trying to use RecyclerView and GridLayoutManager to display a list of items.
Here are the criteria which I want to satisfy:
Each row has a number of items specified by spanCount
Each item ta...
Sheikh asked 22/2, 2018 at 8:53
2
Created a two way scrollable gridlayout for a TV app
view structure from layout file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/re...
Mendelsohn asked 20/12, 2017 at 19:13
1
Solved
I need to create a recyclerView with a GridLayoutManager on two lines, and the first element to be bigger than the rest. The result should look like this:
I managed to achieve this, but in an unc...
Gimpel asked 21/11, 2017 at 10:40
2
Solved
I am using GridLayoutManager with 2 cells and for some cells I want span to be one so I tried using setSpanSizeLookup but its not working. I tried returning span count 1 for all positions but still...
Deel asked 30/1, 2017 at 4:17
2
Solved
I want to create a space between items in the grid. The items should all have equal width/height.
What I've tried:
Create a GridLayoutOffsetDecorator that applies an offset to all grid items:
cl...
Mochun asked 25/4, 2017 at 13:8
1
I'm using GridLayoutManager(GLM) in my RecyclerView. In the RecyclerView, I will populate the CardViews, how can I set my GLM to render only one CardView in the whole screen ?
If I set the span si...
Cavuoto asked 22/5, 2015 at 7:3
2
Solved
I'm trying to use RecyclerView and GridLayoutManager to make a 3 columns grid, and I use ItemDecoration to make column spacing, now the problem is the item's width in third column is smaller than t...
Ca asked 29/5, 2015 at 8:19
4
Solved
I am trying to change the number of columns that appear in the recycler view (grid layout) based on the display size. However I couldn't figure out a proper way of achieving it. At the moment I am ...
Edulcorate asked 2/1, 2015 at 15:55
1
Solved
I got a RecyclerView inside an HorizontalScrollView and I want it to use a GridLayoutManager. This is ok but one thing still bother me, the width of every columns are the same (based on the largest...
Cythiacyto asked 14/12, 2016 at 16:21
0
I'm working with Grid Layout Manager in Recycler View.
I can :
show one View Group inside Grid Layout like image below.
Able to set Space Item Decoration
Able to set different Span Size Lookup....
Tunny asked 27/12, 2016 at 3:24
4
Solved
I am having an issue with GridLayoutManger setSpanSizeLookup, when an orientation of activity changes, I am changing the span count while checking if the specific position is some sort of type, thi...
Cockhorse asked 7/8, 2015 at 18:56
© 2022 - 2024 — McMap. All rights reserved.