public AboutViewModel()
 {
     Title                  = "About";
     SelectedCountry        = CountryUtils.GetCountryModelByName("United States");
     ShowPopupCommand       = new Command(async _ => await ExecuteShowPopupCommand());
     CountrySelectedCommand = new Command(country => ExecuteCountrySelectedCommand(country as CountryModel));
 }
Ejemplo n.º 2
0
 public PaymentViewModel()
 {
     Title                  = "Payment";
     SelectedCountry        = CountryUtils.GetCountryModelByName("Sweden");
     ShowPopupCommand       = new Command(async _ => await ExecuteShowPopupCommand());
     CountrySelectedCommand = new Command(country => ExecuteCountrySelectedCommand(country as CountryModel));
 }