Exemple #1
0
 public void OnItemSelected(Item item, int position)
 {
     if (listener != null)
     {
         listener.OnItemSelected(position);
     }
     currentSelectedPosition = position;
     // Showing ItemDetailFragment on the right screen when the app is in spanned mode
     ShowFragment(ItemDetailFragment.NewInstance(item), Resource.Id.master_detail);
 }
        public void OnItemSelected(Item item, int position)
        {
            if (listener != null)
            {
                listener.OnItemSelected(position);
            }

            currentSelectedPosition = position;
            ShowBackOnActionBar(true);
            ShowFragment(ItemDetailFragment.NewInstance(item));
        }