Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Is there a way to control how ListView's cells are constructed?

$
0
0

I'd like to pass some additional values to each cell in the ListView. Currently I'm setting ItemTemplate = new DataTemplate(typeof(MyCustomCell));, which seems to be doing the magic for me.

Is there a simple way to override the logic of cell creation, so that I can pass some additional values to the ViewCell's constructor?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>