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

Highly custom picker - with DataTemplate

$
0
0

Hello,
First of all, I must thank this community around Xamarin, I think it's a very powerful tool for making cross-platform apps. :)

I am learning Xamarin Forms and I wanna ask if someone knows how to make highly custom picker in Xamarin forms for Android and iOS, like this one.

So my problem. I wanna try to make some nice DateTime selection. Like in the picture above. So I googled but not found something similar. I found some Java plugins, but I would like to have Android and iOS solutions and I am C# developer, not Java or Swift anyway they don't look similar (don't allow something like DataTemplate for selection).
Also, I tried to make something my own, I tried ListView with Cells, but there is no workaround on how to get info what cell is in the middle. And native pickers don't have styling like in the picture.

Is here someone who can tell me, how can I create scroll (or wheel) pickers with custom DataTemplate for showing Items similar to this one? And with features that normal scroll wheels have, like a Bindable collection of items or scroll to index or auto-scroll if the user stops dragging between items.

Many thanks and Happy coding.

P.S.: Sorry for my bad English.


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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