private void TweetsList_RightTapped(object sender, RightTappedRoutedEventArgs e) { item = this.listView.SelectedItem as Models.TweetInfo; ViewModel.TweetIdSet(item.Id); itemStock(); FlyoutBase.ShowAttachedFlyout((FrameworkElement)sender); }
private void TweetsList_Tapped(object sender, TappedRoutedEventArgs e) { //var item = this.listView.SelectedItem as TweetClass.TweetInfo; item = this.searchView.SelectedItem as Models.TweetInfo; ViewModel.TweetIdSet(item.Id); ViewModel2.TweetIdSet(item.Id); //itemStock(); FlyoutBase.ShowAttachedFlyout((FrameworkElement)sender); }
public void itemStock() { var item_test = this.listView.SelectedItem as TweetClass.TweetInfo; if (item_test == null) { return; } else { item = this.listView.SelectedItem as Models.TweetInfo; } }
private void TweetsList_Tapped(object sender, TappedRoutedEventArgs e) { try { item = this.listView.SelectedItem as Models.TweetInfo; ViewModel.TweetIdSet(item.Id); ViewModel2.TweetIdSet(item.Id); //itemStock(); } catch (Exception ex) { } FlyoutBase.ShowAttachedFlyout((FrameworkElement)sender); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { //item = (TweetClass.TweetInfo)e.Parameter; item = (Models.TweetInfo)e.Parameter; //data.toast(item.Id.ToString()); //loadTweet(item.Id); status = await tokens.Statuses.ShowAsync(id => item.Id); show(status); ViewModel2.GetTweetInfos(); }
protected override void OnNavigatedTo(NavigationEventArgs e) { item = (Models.TweetInfo)e.Parameter; mentionLoad(); }
//page読み込み時 protected override void OnNavigatedTo(NavigationEventArgs e) { item = (Models.TweetInfo)e.Parameter; //item = (TweetClass.TweetInfo)e.Parameter; }