Пример #1
0
        public AuthorView()
        {
            InitializeComponent();

            SharedTransitionNavigationPage.SetBackgroundAnimation(this, BackgroundAnimation.Fade);
            SharedTransitionNavigationPage.SetSharedTransitionDuration(this, 500);
        }
        public Page2()
        {
            InitializeComponent();

            SharedTransitionNavigationPage.SetBackgroundAnimation(this, BackgroundAnimation.None);
            SharedTransitionNavigationPage.SetSharedTransitionDuration(this, 500);
        }
        public SpotifyPlayListView(object parameter)
        {
            InitializeComponent();
            RssDetailViewModel model = new RssDetailViewModel(parameter);

            BindingContext = MainViewModel.Instance;
            this.Title     = model.ArtItem.Title;
            UpdateWebView(model);
            SharedTransitionNavigationPage.SetSharedTransitionDuration(this, 500);
        }
        public RssDetailVideoView(object parameter)
        {
            InitializeComponent();
            RssDetailViewModel model = new RssDetailViewModel(parameter);

            BindingContext = model;
            String urlvideo = YoutubeUrlResolverHelper.ResolveUrl(model.ArtItem.UrlVideo);

            this.Title = model.ArtItem.Title;
            UpdateVideoPlayer(urlvideo);
            SharedTransitionNavigationPage.SetSharedTransitionDuration(this, 500);
        }
Пример #5
0
        public MainView()
        {
            InitializeComponent();

            if (Device.RuntimePlatform == "Android")
            {
                NavigationPage.SetHasNavigationBar(this, false);
            }

            SharedTransitionNavigationPage.SetBackgroundAnimation(this, BackgroundAnimation.Fade);
            SharedTransitionNavigationPage.SetSharedTransitionDuration(this, 500);
        }
Пример #6
0
        public ArtDetailView(object parameter)
        {
            InitializeComponent();

            if (Device.RuntimePlatform == "Android")
            {
                NavigationPage.SetHasNavigationBar(this, false);
            }

            BindingContext = new ArtDetailViewModel(parameter);

            SharedTransitionNavigationPage.SetSharedTransitionDuration(this, 500);
        }
Пример #7
0
 public Page1()
 {
     InitializeComponent();
     SharedTransitionNavigationPage.SetBackgroundAnimation(this, BackgroundAnimation.SlideFromTop);
     SharedTransitionNavigationPage.SetSharedTransitionDuration(this, 500);
 }