public override void OnListItemClick(ListView l, View v, int position, long id) { OrderActivity.CoffeeFragPresented = true; CoffeeFragment coffeeFragment = new CoffeeFragment(coffeeData, new ExpandableListAdapter(this.Activity, coffeeData)); FragmentManager.BeginTransaction().Replace(Resource.Id.frame_action, coffeeFragment).Commit(); TempStorage.ChosenLogo = TempStorage.DrawableLogos [position]; TempStorage.Cafe = v.FindViewById <TextView> (Resource.Id.txtCafeName).Text; }
public override void OnListItemClick (ListView l, View v, int position, long id) { OrderActivity.CoffeeFragPresented = true; CoffeeFragment coffeeFragment = new CoffeeFragment (coffeeData, new ExpandableListAdapter(this.Activity, coffeeData)); FragmentManager.BeginTransaction ().Replace (Resource.Id.frame_action, coffeeFragment).Commit(); TempStorage.ChosenLogo = TempStorage.DrawableLogos [position]; TempStorage.Cafe = v.FindViewById<TextView> (Resource.Id.txtCafeName).Text; }