Multiple item templates in one list in mvvmcross Android

I am using the MvvmCross structure. I want to use different element templates in the same list depending on the type of ViewModel. For example, I have a list of AnimalViewModels. And I want KittenViewModel and PuppyViewModel to look different.

I learned how to do this in iOS and WP7. How to implement this in Android.

thanks

+1
source share
1 answer

A few examples show how to use cell type selection. Cm:

+2
source

Source: https://habr.com/ru/post/1492005/


All Articles