private void LoginDialog_OnLoginComplete(object sender, OnLoginDialogEventArgs e) { if (StatusReader.log_status == "online") { Intent nextActivity = new Intent(this, typeof(userAccount)); StartActivity(nextActivity); } else { Toast.MakeText(this, "Login Failed", ToastLength.Short).Show(); } }
private void LoginDialog_OnLoginComplete(object sender, OnLoginDialogEventArgs e) { if (UserAuthority.isLogged) { Intent nextActivity = new Intent(this, typeof(userAccount)); StartActivity(nextActivity); } else { Toast.MakeText(this, "Login Failed", ToastLength.Short).Show(); } }