Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Forms iOS - PickerView with Multi Row Selection

I am using Picker for displaying the items,I want to select multiple rows in picker, is there any way to achieve this in Xamarin Forms shared code or through rendering? any suggestion or idea would be much appreciated.

Thanks.

like image 638
Sudha Avatar asked Oct 28 '25 16:10

Sudha


1 Answers

I don't would use Picker for multilselection. You can do this with a ListView (100% XF-Code).
I have posted some code some time ago in the XF-forum:

http://forums.xamarin.com/discussion/17885/multiselect-listviews

If you have to show the "Multiselect-ListView" from a ScrollView, you may also be interested to use the PopUp-Control (XLabs): https://forums.xamarin.com/discussion/33587/how-to-use-a-listview-in-a-scrollview-with-xlabs-popup-control#latest

And finally, if you want to install the XLabs-NuGet, a further posting to XLabs may help you (search for "How to install, setup and use XLabs" in the XF-forum).
As i don't have more than 10 rep-points here, I am not able to post more then two links :-)

Hope this helps...

like image 56
FredyWenger Avatar answered Oct 31 '25 06:10

FredyWenger