DEV Community

Shekhar Sahu
Shekhar Sahu

Posted on

Merge Multiple adapters with MergeAdapter

Android introduced the most awaited feature of merging the data adapter into the list with the release of recyclerview:1.2.0-alpha02 package.

MergeAdapter is a new class available which enables you to sequentially combine multiple adapters to be displayed in a single RecyclerView. This enables you to better management of your adapters rather than having to combine many data sources into a single adapter.

Link: https://blog.joshsoftware.com/2020/04/13/merge-multiple-adapters-with-mergeadapter/

Top comments (0)