public MainPageViewModel(INavigationService navigationService, RecentPageViewModel recent, MainMenuPageViewModel mainMenu, ISettings settings)
 {
     this.navigationService = navigationService;    
     Recent = recent;
     MainMenu = mainMenu;
     this.settings = settings;
 }
예제 #2
0
 public MainPageViewModel(INavigationService navigationService, RecentPageViewModel recent, MainMenuPageViewModel mainMenu, ISettings settings)
 {
     this.navigationService = navigationService;
     Recent        = recent;
     MainMenu      = mainMenu;
     this.settings = settings;
 }
예제 #3
0
        public RecentPage(World selectedWorld)
        {
            InitializeComponent();

            Icon = Device.OnPlatform("today.png", "", ""); // Todo: -> XAML

            BindingContext = new RecentPageViewModel();
            RecentPageViewModel.SelectedWorld = selectedWorld;
        }
예제 #4
0
        public RecentPage()
        {
            InitializeComponent();

            BindingContext = new RecentPageViewModel();
        }