/RecyclerView-ConcatAdapter

Sample to practice RecyclerView ConcatAdapter

Primary LanguageKotlin

RecyclerView-ConcatAdapter

The main goal is to practice RecyclerView ConcatAdapter a new RecyclerView Adapter that can combine multiple adapters linearly.

Read more about Concatenate adapters sequentially with ConcatAdapter by Florina Muntenescu.

Sample

LinearLayoutManager (Vertical)

    <androidx.recyclerview.widget.RecyclerView
        ...
        app:spanCount="2"
        app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"/>

Try adding horizontal orientation android:orientation="horizontal" to GridLayoutManager or LinearLayoutManager.

Do you want to contribute?

Feel free to report or add any useful feature, I will be glad to improve it with your help.

Developed By