コード例 #1
0
        private async void Logout(object sender, EventArgs e)
        {
            Dialogs.CreateProgressDialog(this, Resource.Style.AlertDialogDefault);
            bool ans = await core.Logout();

            Dialogs.DismissProgressDialog();
            if (ans)
            {
                Intent nextActivity = new Intent(this, typeof(LoginActivity));
                this.StartActivity(nextActivity);
            }
        }