How to set two adapters to one RecyclerView?
问题 I am developing an android app in which I'm storing two different types of information on 'FirebaseDatabase`. Then in the MainActivity , I'm retrieving them and showing to users in a RecyclerView . Both information are meant to be shown in different layouts, i.e., the layouts for both of them are different and that's why I have two make two different Model class and now have 2 different adapters. I'm using FastAdapter by @MikePenz So, what I did is I set the adapter on recyclerview in the