Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.03 KB

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