public MainMapContentPage()
        {
            InitializeComponent();
            var mainMapViewModel = new MainMapViewModel(appLanguage);

            this.BindingContext = mainMapViewModel;
            appSettings.BackGroundChangableViewModels.Add(mainMapViewModel);
            appSettings.FontChangableViewModels.Add(mainMapViewModel);
            appLanguage.MultilangualViewModels.Add(mainMapViewModel);
            contentProvider.WeatherUpdated += WeatherLoaded;
        }
Пример #2
0
 public MainMapView()
 {
     InitializeComponent();
     BindingContext = new MainMapViewModel();
 }