Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Forms Picker Item source binding in Xaml

I need to create states picker in my Xamarin Forms. I am using Xaml file for creating views.

Can any one help me to bind Picker in Xaml with item source?

like image 402
khush Avatar asked Oct 20 '22 16:10

khush


1 Answers

The XLabs has an excellent example of a bindable picker that I have used in several projects to great affect:

https://github.com/XLabs/Xamarin-Forms-Labs

This will allow you to replicate the 'ItemsSource' functionality of the Listview.

like image 186
JordanMazurke Avatar answered Oct 22 '22 23:10

JordanMazurke