/// <summary> /// Gets the UI to present this form. /// </summary> /// <returns> /// The UI that needs to be presented. /// </returns> protected override AuthenticateUIType GetPlatformUI(UIContext context) { var i = new global::Android.Content.Intent(context, typeof(FormAuthenticatorActivity)); var state = new FormAuthenticatorActivity.State { Authenticator = this, }; i.PutExtra("StateKey", FormAuthenticatorActivity.StateRepo.Add(state)); return(i); }
/// <summary> /// Gets the UI to present this form. /// </summary> /// <returns> /// The UI that needs to be presented. /// </returns> protected override AuthenticateUIType GetPlatformUI (UIContext context) { var i = new global::Android.Content.Intent (context, typeof (FormAuthenticatorActivity)); var state = new FormAuthenticatorActivity.State { Authenticator = this, }; i.PutExtra ("StateKey", FormAuthenticatorActivity.StateRepo.Add (state)); return i; }