示例#1
0
        public MainPage()
        {
            InitializeComponent();
            auth = DependencyService.Get <INterfaceAuth>();

            bool firstrun = auth.GetSharedPreferences();

            if (firstrun)
            {
                Btn_signin_Clicked(auth.GetEmail(), auth.GetPass());
            }
        }
示例#2
0
        public MainPage()
        {
            NavigationPage.SetHasNavigationBar(this, false);
            InitializeComponent();
            auth = DependencyService.Get <INterfaceAuth>();

            bool firstrun = auth.GetSharedPreferences();

            if (firstrun)
            {
                Btn_signin_Clicked(auth.GetEmail(), auth.GetPass());
            }
        }
示例#3
0
 public static bool GetSharedPreferences()
 {
     return(auth.GetSharedPreferences());
 }