Hello,
Welcome to our Microsoft Q&A platform!
However, if an item is focused and the user touches one of the controls in another item, the SelectionChanged event does not fire and I'm unable to identify which item the user is targeting.
The priority of the control's event is higher than SelectionChanged event. To work with other properties, you could get the BindingContext
of the currentItem to handle the data. Modify the value of the model object to update the item view.
Here is the sample code, you could refer to it.
<DataTemplate>
<StackLayout>
<Label Text="{Binding TheContent}"/>
<Entry Placeholder="enter the word" TextChanged="Entry_TextChanged"/>
</StackLayout>
</DataTemplate>
Entry's TextChanged event:
private void Entry_TextChanged(object sender, TextChangedEventArgs e)
{
var entry = sender as Entry;
var model = entry.BindingContext as _Model;
//change the value of the model to update the item view
//for example:
model.TheContent = e.NewTextValue;
}
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.