DEV Community


Merge Multiple adapters with MergeAdapter

Shekhar Sahu
・1 min read

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.


Discussion (0)