protected override void OnAppearing() { MessagingCenter.Subscribe <BaseViewModel, string>(this, Constants.ShowInfo, async(view, param) => await StatusBand.ShowInfo(param)); MessagingCenter.Subscribe <BaseViewModel, string>(this, Constants.ShowWarning, async(view, param) => await StatusBand.ShowWarning(param)); MessagingCenter.Subscribe <BaseViewModel, string>(this, Constants.ShowError, async(view, param) => await StatusBand.ShowError(param)); MessagingCenter.Subscribe <BaseViewModel>(this, Constants.Hide, view => StatusBand.Hide()); MessagingCenter.Subscribe <BaseViewModel>(this, Constants.NavigateNext, view => ViewModel.NextCommand.Execute(null)); MessagingCenter.Subscribe <BaseViewModel>(this, Constants.NavigateNextForced, view => ViewModel.NextForcedCommand.Execute(null)); MessagingCenter.Subscribe <BaseViewModel>(this, Constants.NavigateTo, view => ViewModel.NavigateToCommand.Execute(null)); ViewModel.LoadCommand.Execute(null); base.OnAppearing(); }