public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     KeyboardUtil.RegisterKeyboardDismissalHandler(this.View);
     KeyboardUtil.RegisterKeyboardDoneHandler(this.PlayerName);
     AddSaveButton();
 }
Exemple #2
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     KeyboardUtil.RegisterKeyboardDismissalHandler(this.View);
     KeyboardUtil.RegisterKeyboardDoneHandler(this.BaseURLField);
     NavigationItem.SetRightBarButtonItem(new UIBarButtonItem("Save", UIBarButtonItemStyle.Plain, (o, e) => {
         SetModelData();
         var alert = new UIAlertView("Saved", "Settings saved", null, "Ok", null);
         alert.Show();
     }), true);
 }