I want to use Grid and Linear layout in one recycle view. Is it possible to use 2 layout manager in on RecyclerView.
If not then please tell me the best way to do this.
Asked
Active
Viewed 67 times
-1

Umesh Saraswat
- 560
- 1
- 8
- 22
1 Answers
0
You will take 2 RecyclerView for this.
2 LayoutManager
because one is grid (GridLayoutManager) and other is linear(LinearLayoutManager),
2 adapters
because your item views
are different.

Khemraj Sharma
- 57,232
- 27
- 203
- 212