Open lawrence615 opened 8 years ago
Exactly you can define multiple view types. In the "getTypeOfView" method you return an integer value for a type of view in each posititon and in the onCrateViewHolder you can create an instance of your Viewholder related with this type of view. If you have a diferent and new item layout you should have a new Viewholder Class. I hope to help you.
Hi,
Is it possible to have multiple view types or rather different layout for items under each section?
Thanks