Hello,
On iOS platform, it will scroll to the selected item when the picker is opened. But on Android platform, the picker can't scroll to the selected item.
In the Android source code, we can see there is a NumberPicker displaying the string value. We need to record the scrollX
and scrollY
when an item is selected so that we can scroll the picker by ScrollBy or ScrollTo method when the picker is open.
But this NumberPicker
is a local variable, we can't get the instance even through Custom Renderers (PickerRenderer). So I have to say, you can't implement this feature by the current API. You could try to create a new issue on GitHub for your feature request:
https://github.com/xamarin/Xamarin.Forms/issues/new/choose
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.