public Promotions() { InitializeComponent(); _restService = new RestServicePromo(); const int RefreshDuration = 2; Prueba(); get_soluciones.RefreshCommand = new Command(async() => { get_soluciones.IsRefreshing = true; await Task.Delay(TimeSpan.FromSeconds(RefreshDuration)); Prueba(); get_soluciones.IsRefreshing = false; }); }
public Promotions() { InitializeComponent(); _restService = new RestServicePromo(); }