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