public CustomContentView(bool navigationBar, object bindingContextData)
 {
     MvvmMessagingCenter.Init(this);
     ViewModel           = bindingContextData ?? Activator.CreateInstance(typeof(BaseViewModel));
     this.BindingContext = ViewModel;
     NavigationPage.SetHasNavigationBar(this, navigationBar);
 }
Beispiel #2
0
 protected override void OnAppearing()
 {
     MvvmMessagingCenter.Init(this);
     base.OnAppearing();
 }