Exemple #1
0
 private void prepareActivityIndicatorView()
 {
     activityIndicatorView.TranslatesAutoresizingMaskIntoConstraints = false;
     activityIndicatorView.WidthAnchor.ConstraintEqualTo(activityIndicatorSize).Active              = true;
     activityIndicatorView.HeightAnchor.ConstraintEqualTo(activityIndicatorSize).Active             = true;
     activityIndicatorView.CenterYAnchor.ConstraintEqualTo(syncStateLabel.CenterYAnchor).Active     = true;
     activityIndicatorView.LeadingAnchor.ConstraintEqualTo(syncStateLabel.TrailingAnchor, 6).Active = true;
     activityIndicatorView.StartSpinning();
 }
 public override void ViewWillAppear(bool animated)
 {
     base.ViewWillAppear(animated);
     ActivityIndicatorView.Alpha = 0;
     ActivityIndicatorView.StartSpinning();
     PasswordTextField.ResignFirstResponder();
 }
 public override void ViewDidAppear(bool animated)
 {
     base.ViewDidAppear(animated);
     ActivityIndicatorView.StartSpinning();
 }