Skip to content

Instantly share code, notes, and snippets.

@adamped
Created April 12, 2016 10:27
Show Gist options
  • Save adamped/2df546c382dd3fbd3e8ff1102e445879 to your computer and use it in GitHub Desktop.
Save adamped/2df546c382dd3fbd3e8ff1102e445879 to your computer and use it in GitHub Desktop.
public class AuthenticationStack : BaseStack
{
public AuthenticationStack(INavigationService navigationService)
: base(navigationService, new NavigationContainer(new NavigationPage()), Stacks.Authentication)
{
}
protected override void Map()
{
_navigationService.Map(nameof(Authentication.Pin), typeof(PinPage), typeof(PinViewModel));
}
protected override string NavigationStartKey
{
get
{
return nameof(Authentication.Pin);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment