public CartViewModel(INavigation navigation, ObservableCollection <clsInvoice> items, TBillCount tbill) { total = new TBillCount(); this.Items = items; _InvoiceApi = new InvoiceApi(); this.total = tbill; this.navigation1 = navigation; }
public BarcodeViewModel(INavigation navigation) { this.navigation = navigation; IsVisisble = false; Total = new TBillCount(); Total.TCount = 0; Total.TBill = 0; Items = new ObservableCollection <clsInvoice>(); _itemlistapi = new ItemsListApi(); _ = GetListOfItemsAsync(); }
public CartViewPage(ObservableCollection <clsInvoice> items, TBillCount tbill) { InitializeComponent(); BindingContext = new CartViewModel(Navigation, items, tbill); }