Xamarin Forms DataTemplateSelector

added by DotNetKicks
2/6/2017 2:54:15 PM

1 Kicks, 231 Views

The DataTemplateSelector is a class that lets you change the data template you want to use, in a ListView or CarouselView, depending upon the type of data for each item, in the list. Rather than making a complex ViewCell or ItemTemplate, you can design each one specifically for the type of data you want.