Beispiel #1
0
        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;
        }
Beispiel #2
0
		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;
		}