How do I move selected data from one screen to another in Xamarin?
I have a ListView that receives information from an Api and I want the user to click on the item, view this information on another screen, below the
private async void OnItemSelected(object sender, SelectedItemChangedEventArgs e)
{
if(e.SelectedItem !=null)
{
var selection = e.SelectedItem as UltimasNoticias;
//DisplayAlert("Você Selecionou", selection.Post_title, "ok");
await Navigation.PushAsync(new PostView());
#region DisabledSelectionHighlighting
// ((ListView)sender).SelectedItem = null;
#endregion
}
}