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

What is the best way to have an array of values that the user can easily change, like with picker?

$
0
0

I have a list of 2 value parameters that I need to provide a very easy way for a user to change. The list is short (7 rows), and each parameter is in the range 0 to 350.

I currently have another app written in Swift, and the "UIPickerView" for selecting items is quite a hit. And, it will be a while before I make the Android or PC version of this app ( an iOS only version is fine.) So the people who want this are asking if I could use that kind of thing for setting value --in typical use, these parameters only need to be adjusted a few points.

I'm frustrated that the "Picker" on Xamarin.Forms brings up a box at the bottom, which I personally find rather ugly.

My first thought was to have each value as a label in a grid, with a tap recongizer that would bring up a "pop-over" window that would allow the adjustment. But I'm not sure exactly how I would do that. I have multiple pages, derived from a "BaseWindow" class of my creation which is in turn derived from "ContentPage".

My current, undesirable, plan is to make each value a "Picker". So that's 14 of them. I guess I'll have to highlight the one being changed -- not sure how to do that, maybe catching the "Focused" event?

Sorry to be so needy here. Oh, and of course, they wanted this yesterday. Thanks for any help.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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