public void OnDismiss(IDialogInterface dialog) { dialog.Dispose(); Intent intent = new Intent(this, typeof(loginActivity)); StartActivity(intent); }
public void OnDismiss(IDialogInterface dialog) { if (IsOnline()) { dialog.Dispose(); this.Finish(); addCarToOrder.finish.Finish(); Intent intent = new Intent(this, typeof(MainActivity)); StartActivity(intent); } else { dialog.Dispose(); this.Finish(); Intent intent = new Intent(this, typeof(loginActivity)); StartActivity(intent); } }