Beispiel #1
0
        public override async void ViewWillAppear(bool animated)
        {
            base.ViewWillAppear(animated);

            if (!_firstShown)
            {
                _firstShown = true;
                try
                {
                    await this.DoWorkTest("Loading...", () => ViewModel.Load(false));
                }
                catch (Exception e)
                {
                    MonoTouch.Utilities.LogException(e);
                    MonoTouch.Utilities.ShowAlert("Error", e.Message);
                }
            }
        }