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

Dynamic fields in listview...suggestion

$
0
0

I am creating a dynamic forms. Basically i have a listview that contains all the possible fields. Based on the data i will only show ONE field type per row.

Question, how do i only show 1 field based on a property called typeid.
eg. typeid=1 Show Label typeid=2 Show Checkbox typeid=3 Show Picker

Is this the best approach acceptable for the moment( i know i can improve it)?


<ListView.ItemTemplate>






Viewing all articles
Browse latest Browse all 91519

Trending Articles



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