private async void PackingListAction(object obj) { var order = (OrderPenjualan)obj; var vm = new CreatePackingListViewModel(order); var form = new CreatePackingList() { BindingContext = vm }; await Shell.Current.Navigation.PushAsync(form); }
private async void Button_Clicked(object sender, EventArgs e) { var order = (OrderPenjualan)ItemsListView.SelectedItem; var vm = new CreatePackingListViewModel(order); var form = new CreatePackingList() { BindingContext = vm }; await Shell.Current.Navigation.PushAsync(form); }