コード例 #1
0
		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 );
		}
コード例 #2
0
        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);
        }