Created
March 26, 2022 16:45
-
-
Save Char0394/0ba0b9525a50f2d990e4b107c0062caf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class HomePage : FlyoutPage | |
{ | |
public ICommand ShowQuickTourCommand { get; } | |
public HomePage() | |
{ | |
InitializeComponent(); | |
var quickTourLauncher = QuickTourBuilder<QuickTourStep1PopUp> | |
.Initialize() | |
.Next(new QuickTourStep2PopUp()) | |
.Next(new QuickTourStep3PopUp()) | |
.Build(); | |
ShowQuickTourCommand = new Command(async () => await quickTourLauncher.LaunchAsync()); | |
BindingContext = this; | |
} | |
protected override void OnAppearing() | |
{ | |
base.OnAppearing(); | |
ShowQuickTourCommand.Execute(null); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment