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

Pickers - selecting first value

$
0
0

http://iosapi.xamarin.com/index.aspx?link=T:Xamarin.Forms.Picker

I used the above as my start point and I have a couple of pickers on my accounts page of my app.

I have two problems that I am unable to solve.

Firstly, on the ios version, if you want to select the first option, and just hit done, it does not select it, I have to go to second and then back to first to be able to pick the first option.

Secondly, how can I set the picker to a point in the list? If they stay on the page, and re-select the picker, it will be at the point on the list they left it at. But when they open the page again at some other time, I grab the data from the server and would like to be able to set it to the previously chosen value. So for example if they saved out "option 5" I would like the picker to be set to "option 5" and start at that point in the list when the picker is started.

Ian.


Viewing all articles
Browse latest Browse all 58056

Trending Articles