Last active
December 16, 2015 20:00
-
-
Save christopherhouse/5489504 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void DoLogin(MobileServiceAuthenticationProvider provider) | |
{ | |
var task = this.client.LoginAsync(this, provider).ContinueWith(t => { | |
MobileServiceUser user = t.Result; | |
this.BeginInvokeOnMainThread(() => { | |
UIAlertView alert = new UIAlertView("Logged In!", string.Format ("Hello user {0}", user.UserId), | |
null, "OK"); | |
alert.Show (); | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment