public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); ViewWillAppearCalled.Raise(this, animated); if (!_isLoaded) { var loadableViewModel = ViewModel as LoadableViewModel; if (loadableViewModel != null) { loadableViewModel.LoadCommand.Execute(false); } _isLoaded = true; } }
public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); ViewWillAppearCalled.Raise(this, animated); if (!_isLoaded) { var loadableViewModel = ViewModel as LoadableViewModel; if (loadableViewModel != null) { loadableViewModel.LoadCommand.Execute(false); } _isLoaded = true; } if (RefreshControl != null) { RefreshControl.ValueChanged += HandleRefreshRequested; } }
public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); ViewWillAppearCalled.Raise(this, animated); }
public override void ViewWillAppear() { base.ViewWillAppear(); ViewWillAppearCalled?.Raise(this); }