private async void OnItemTapped(Object sender, EventArgs e){ var selectedItem = ((ListView)sender).SelectedItem; var post = (Post) selectedItem; var articleView = new ArticleView(new ArticleViewModel(post)); await Navigation.PushAsync( articleView ); }
private async void OnItemTapped(Object sender, EventArgs e) { var selectedItem = ((ListView)sender).SelectedItem; var post = (Post)selectedItem; var articleView = new ArticleView(new ArticleViewModel(post)); await Navigation.PushAsync(articleView); }