Ejemplo n.º 1
0
        private void StoriesList_ItemClick(object sender, ItemClickEventArgs e)
        {
            var          item          = ((InstaReelFeed)e.ClickedItem);
            GridViewItem itemAnimation = (GridViewItem)StoriesList.ContainerFromItem(item);

            itemList = itemAnimation;
            ConnectedAnimationService.GetForCurrentView().PrepareToAnimate("image", itemAnimation);
            StoryFr.Navigate(typeof(StoryView.StoryViews), item);
        }
Ejemplo n.º 2
0
        void StoriesList_ItemClick(object sender, ItemClickEventArgs e)
        {
            SearchPage.GridAuto.Visibility = Visibility.Collapsed;
            MainPage.Bar.Visibility        = Visibility.Collapsed;
            var item          = ((InstaStory)e.ClickedItem);
            var itemAnimation = (GridViewItem)StoriesList.ContainerFromItem(item);

            itemList = itemAnimation;
            ConnectedAnimationService.GetForCurrentView().PrepareToAnimate("image", itemAnimation);
            StoryFr.Navigate(typeof(StoryView.StoryViews), item);
        }
Ejemplo n.º 3
0
        private void StoriesList_ItemClick(object sender, ItemClickEventArgs e)
        {
            var item = ((InstaReelFeed)e.ClickedItem);

            if (item.User.UserName is "You")
            {
                if (item.Items.Count is 0)
                {
                    PivotView.SelectedIndex = 0;
                    return;
                }
            }

            GridViewItem itemAnimation = (GridViewItem)StoriesList.ContainerFromItem(item);

            itemList = itemAnimation;
            ConnectedAnimationService.GetForCurrentView().PrepareToAnimate("image", itemAnimation);
            StoryFr.Navigate(typeof(StoryView.StoryViews), item);
            MainPage.Bar.Visibility = Visibility.Collapsed;
        }