public MainPage() { InitializeComponent(); auth = DependencyService.Get <INterfaceAuth>(); bool firstrun = auth.GetSharedPreferences(); if (firstrun) { Btn_signin_Clicked(auth.GetEmail(), auth.GetPass()); } }
public MainPage() { NavigationPage.SetHasNavigationBar(this, false); InitializeComponent(); auth = DependencyService.Get <INterfaceAuth>(); bool firstrun = auth.GetSharedPreferences(); if (firstrun) { Btn_signin_Clicked(auth.GetEmail(), auth.GetPass()); } }
public static bool GetSharedPreferences() { return(auth.GetSharedPreferences()); }