public override void ViewDidLoad() { base.ViewDidLoad(); var veggieLovers = dataService.GetHotDogsForGroup((int)HotDogGroupOptions.VeggieLovers); TableView.Source = new HotDogDataSource(veggieLovers, this); }
public override void ViewDidLoad() { base.ViewDidLoad(); var veggieLovers = dataService.GetHotDogsForGroup(2); TableView.Source = new HotDogDataSource(veggieLovers, this); this.ParentViewController.NavigationItem.Title = "Veggie Lovers"; }
public override void OnActivityCreated(Bundle savedInstanceState) { base.OnActivityCreated(savedInstanceState); FindViews(); HandleEvents(); HotDogs = HotDogDataService.GetHotDogsForGroup(1); ListView.Adapter = new HotDogListAdapter(this.Activity, HotDogs); }
public override void ViewDidLoad() { base.ViewDidLoad(); var meatLovers = dataService.GetHotDogsForGroup(1); var datasource = new HotDogDataSource(meatLovers, this); TableView.Source = datasource; this.ParentViewController.NavigationItem.Title = "Meat Lovers"; }