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; } }
protected async override void OnAppearing() { base.OnAppearing(); await model.Init(); }