public DisplayCustomrPageOLD () { custService = new CustomerService (); listView = new ListView { }; //need to add a Details Push Event on the ITemSelected here when working done listView.ItemSelected += (sender, e) => { //Navigation.PushAsync(new DisplayCustomerDetailsPage(e.SelectedItem as GiveAway)); }; this.Title = "USA Customers"; this.Content = new StackLayout { Padding = new Thickness(0, Device.OnPlatform(20,0,0),0,0), Spacing = 10, Orientation = StackOrientation.Vertical, Children = { listView } }; }
public DisplayCustomr () { InitializeComponent (); custService = new CustomerService (); this.Title = "All USA Customers"; }