Top "Gridlayoutmanager" questions

A RecyclerView.

How to make RecyclerView scroll smoothly?

This is more like a generic question, but after lot of search and try I am not able to understand …

android android-recyclerview smooth-scrolling gridlayoutmanager
Android add spacing below last element in recyclerview with gridlayoutmanager

I am trying to add spacing below the last element row in RecyclerView with GridLayoutManager. I used custom ItemDecoration for …

android android-recyclerview gridlayoutmanager
How to implement horizontal gridlayoutmanager

How to implement horizontal gridlayoutmanager with recyclerview. Fixed row count. and horizontal scroll. Like this... gridLayoutManager = new GridLayoutManager(getContext(), 1, GridLayoutManager.…

android android-recyclerview gridlayoutmanager
android - how to catch Drop action of ItemTouchHelper which is used with RecyclerView

I have a problem with ItemTouchHelper of RecyclerView. I am making a game. The game board is actually a RecyclerView. …

android drag-and-drop android-recyclerview gridlayoutmanager
Changing number of columns in RecyclerView gridlayout

I am trying to change the number of columns that appear in the recycler view (grid layout) based on the …

android gridlayoutmanager
RecyclerView GridLayoutManager with full width header

I'm using a very helpful example here to show a RecyclerView and a GridLayoutManager to show a grid with a …

android android-recyclerview gridlayoutmanager
GridLayoutManager - column width wrap its own largest child

I got a RecyclerView inside an HorizontalScrollView and I want it to use a GridLayoutManager. This is ok but one …

android android-recyclerview gridlayoutmanager android-wrap-content
RecyclerView grid layout manager doesn't center items

I inherited some big project with a lot of legacy code and now I'm facing some weird stuff.. I need …

android android-recyclerview gridlayoutmanager
Items are not the same width when using RecyclerView GridLayoutManager to make column spacing by ItemDecoration

I'm trying to use RecyclerView and GridLayoutManager to make a 3 columns grid, and I use ItemDecoration to make column spacing, …

java android android-recyclerview gridlayoutmanager
Different (dynamic) items height in GridLayoutManager

I have a RecyclerView and GridLayoutManager with 2 columns. How can I force LayoutManager to be according with template on the …

android height android-recyclerview rows gridlayoutmanager