protected override void OnAppearing()
 {
     base.OnAppearing();
     model.Init();
     if (OrderService.Cart.Count() == 0)
     {
         title.Text           = "Trenutno nemate proizvoda u korpi";
         BtnConfirm.IsEnabled = false;
     }
     else
     {
         title.Text           = "Vaša korpa";
         BtnConfirm.IsEnabled = true;
     }
 }
예제 #2
0
 protected async override void OnAppearing()
 {
     base.OnAppearing();
     await model.Init();
 }