Hello,
Welcome to our Microsoft Q&A platform!
Is there any error occured? I tested the code in basic demo, and encountered the following exception when selecting an item of the picker.
Java.Lang.NullPointerException: 'Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference'
The problem is due to the 'ItemDisplayBinding' line code. Please try to set binding for ItemDisplayBinding
to the parameter name instead of 'ModelClass.ParameterName'.
<Picker
...
ItemDisplayBinding="{Binding Path=CardNumber}"
/>
Best Regards,
Jarvan Zhang
If the response is helpful, 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.