How to display multiple models on recycler view using same adapater?
问题 I have two different types of objects (ex: User and Student) both having different properties. User: Title, description; Student: Title, description, USN; Is there a way using which I can display two users first and then students on the recycler view using same adapter? How do I display it even if it's two adapters. I dont' want two recycler views. Please note that the example given is very simple. The change is not just in UI. If the change is just in UI, then getItemViewType() can be used