public LearningPageView()
 {
     NavigationPage.SetHasNavigationBar(this, false);
     BackgroundColor = Color.FromHex(Theme.Current.AppBackgroundColor);
     BindingContext  = new LearningPageViewModel(new PlatformServices());
     createViews();
 }
예제 #2
0
 public LearningPage()
 {
     InitializeComponent();
     BindingContext = new LearningPageViewModel();
     LearningPageViewModel.Navigation = Navigation;
 }