Пример #1
0
        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;
        }
Пример #2
0
 private async void Svi(object sender, EventArgs e)
 {
     FillUi(await RestService.Load());
     txtSearch.Text = string.Empty;
 }
Пример #3
0
 private async void Trazi(object sender, EventArgs e)
 {
     FillUi(await RestService.Load(txtSearch.Text));
 }