public override void PushViewController() { _currentUser = _objectStore.Load<AgileZenUser>("AgileZenUser.txt"); var root = CreateRoot (); _dv = new DialogViewController (root, true); PushViewController (_dv, true); GetMe(); }
private void HandleMeCallFinished(Result<AgileZenUser> result) { _navController.InvokeOnMainThread ( delegate { bool couldFetchUser = result.Error == null; if(couldFetchUser) { _currentUser = result.Value; } else { _currentUser = new AgileZenUser(); } UpdateRoot(couldFetchUser); StopAnimatingHud(); } ); }