Пример #1
0
 public MainViewModel()
 {
     apiService    = new ApiService();
     dialogService = new DialogService();
     dataService   = new DataService();
     _badgeService = DependencyService.Get <IBadgerService>();
     CargarCotizaciones();
 }
Пример #2
0
 public MainPage()
 {
     _badgeService = DependencyService.Get <IBadgerService>();
     InitializeComponent();
     BindingContext = this;
 }