Hello,
To be clear, this is the default behavior of Android. Picker's selection event in Android is triggered by a change in the index of the selected item.
Therefore, this is an expected behavior.
If you want the program to fire events even after selecting the same item, you'll need to create a spoofing effect with the Title.
private void picker_SelectedIndexChanged(object sender, EventArgs e)
{
var picker = (Picker)sender;
var index = picker.SelectedIndex;
if (picker.SelectedIndex != -1)
{
// handle the selected data.
// reset index
picker.SelectedIndex = -1;
picker.Title = picker.Items[index];
}
}
Best Regards,
Alec Liu.
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.