MergeAdapter was introduced with androidx.recyclerview:recyclerview:1.2.0-alpha01
. It is used to combine multiple adapters for RecyclerView
Questions tagged [android-mergeadapter]
5 questions
5
votes
2 answers
Multiple LayoutManager in ConcatAdapter
I want to implement an ConcatAdapter like this image:
This page's recyclerView contains these elements:
Title
Horizontal recyclerView (with pagination)
Title
Vertical recyclerView (no pagination)
Title
Horizontal recyclerView (with…

DrMorteza
- 2,067
- 2
- 21
- 29
2
votes
1 answer
unresolved reference MergeAdapter
I was using MergeAdapter in my code . Every thing worked fine until I updated my RecyclerView version to 1.2.0-alpha04 . Now my code shows unresolved reference MergeAdapter
implementation "androidx.recyclerview:recyclerview:1.2.0-alpha04"

Manohar
- 22,116
- 9
- 108
- 144
1
vote
1 answer
Merge adapter with different layout managers
I am using MergeAdapter to combine 2 adapters It works fine .
Problem is for 1 adapter I need LinearLayoutManager with single column and for second adapter I need GridLayoutManager to show items in 2 columns . Is there any way to do it ?
I found a…

Manohar
- 22,116
- 9
- 108
- 144
0
votes
2 answers
Setting LayoutManager type inside RecyclerView adapter
I'm using a ConcatAdapter to set a header for my RecyclerView. I am using two RecyclerAdapters, one that requires no LayoutManager and one that requires a GridLayoutManager. How do I correctly set a LayoutManager inside the RecyclerAdapter class?…

DIRTY DAVE
- 2,523
- 2
- 20
- 83
0
votes
2 answers
How can i manage multiple view in Recyclerview?
I want to show diffrent view in single Recycler view
How can i do this.
In Kotlin

Sandeep Pareek
- 1,636
- 19
- 21