protected async override void OnAppearing() { base.OnAppearing(); Root.Children.Clear(); Busy.IsRunning = true; Busy.IsVisible = true; txtStatus.IsVisible = true; Constants.Drzave = await RestService.Drzave(); Constants.Mesta = await RestService.Mesta(); Constants.Grupe = await RestService.Grupe(); Constants.ImTipovi = await RestService.ImTipovi(); Constants.TelefonTipovi = await RestService.TelefonTipovi(); FillUi(await RestService.Load()); Busy.IsRunning = false; Busy.IsVisible = false; txtStatus.IsVisible = false; }
private async void Svi(object sender, EventArgs e) { FillUi(await RestService.Load()); txtSearch.Text = string.Empty; }
private async void Trazi(object sender, EventArgs e) { FillUi(await RestService.Load(txtSearch.Text)); }