public IntroPage5() { InitializeComponent(); if (Device.RuntimePlatform == Device.Android) { header.IsVisible = false; } this.BindingContext = new IntroPage5ViewModel(GetVideoView()); NextButton.GestureRecognizers.Add(new TapGestureRecognizer { Command = new Command(() => { VideoView.Stop(); IntroCarousel.NavigateToMainMenu(); }), }); SkipIntroText.GestureRecognizers.Add(new TapGestureRecognizer { Command = new Command(() => { VideoView.Stop(); IntroCarousel.NavigateToMainMenu(); }), }); //System.Diagnostics.Debug.WriteLine("Source: " + "android.resource://" + _Source); }
public IntroPage1() { InitializeComponent(); if (Device.RuntimePlatform == Device.Android) { header.IsVisible = false; } SkipIntroText.GestureRecognizers.Add(new TapGestureRecognizer { Command = new Command(() => IntroCarousel.NavigateToMainMenu()), }); }