Forum Xamarin.Android

How to implement the equivalent of a Windows ContentControl with template selector (with MVVM cross)

MichaelBuiMichaelBui USUniversity ✭✭

Currently working on a cross platform project using MVVM cross. In the Windows Phone project, I have a list view and the templates used for rendering each item can vary based on the type through the use of a template selector. However, within one of the item templates itself is a content control that also uses a template selector to determine how to render the content.

How would you going about doing this for Android with MVVM cross? I've already got the list view with an adapter to determine the template that needs to be used. I suppose I could have the template have a list view bound to a collection with just one object but trying to see if there's another way to accomplish this

Sign In or Register to comment.