Skip to content

PascalProgrammingX/RecyclerView-MergeAdapter

 
 

Repository files navigation

RecyclerView-MergeAdapter

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

Read more about Merge adapters sequentially with MergeAdapter 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

About

The main goal is to practice the new RecyclerView Adapter / MergeAdapter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%