public MainPageViewModel(INavigationService navigationService, RecentPageViewModel recent, MainMenuPageViewModel mainMenu, ISettings settings) { this.navigationService = navigationService; Recent = recent; MainMenu = mainMenu; this.settings = settings; }
public RecentPage(World selectedWorld) { InitializeComponent(); Icon = Device.OnPlatform("today.png", "", ""); // Todo: -> XAML BindingContext = new RecentPageViewModel(); RecentPageViewModel.SelectedWorld = selectedWorld; }
public RecentPage() { InitializeComponent(); BindingContext = new RecentPageViewModel(); }