public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
            {
                View            itemView   = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.BrowseFragRow, parent, false);
                ImageViewHolder viewHolder = new ImageViewHolder(itemView, OnClick);

                viewHolder.button.Click += (sender, e) =>
                {
                    var pos = viewHolder.AdapterPosition;

                    Bundle nameBundle = new Bundle();
                    string name       = targetArea[pos];
                    nameBundle.PutString("targetAreaName", name);
                    Android.Support.V4.App.Fragment exerciseListFragment = null;
                    exerciseListFragment = new exerciseListFragment();
                    var ft = activity.SupportFragmentManager.BeginTransaction();

                    //var ft = ((AppCompatActivity).Context).getSupportFragmentManager();
                    ft.Replace(Resource.Id.content_frame, exerciseListFragment).AddToBackStack(pos.ToString());
                    ft.Commit();

                    exerciseListFragment.Arguments = nameBundle;
                };

                return(viewHolder);
            }
        public static exerciseListFragment NewInstance()
        {
            var exerciseListFragment = new exerciseListFragment {
                Arguments = new Bundle()
            };

            return(exerciseListFragment);
        }
        void LoadPlaylist(int id)
        {
            Bundle nameBundle = new Bundle();

            nameBundle.PutString("targetAreaName", targetAreas[id]);
            Android.Support.V4.App.Fragment exerciseListFragment = null;

            exerciseListFragment = new exerciseListFragment();

            var ft = FragmentManager.BeginTransaction();

            ft.Replace(Resource.Id.content_frame, exerciseListFragment).AddToBackStack(id.ToString());
            ft.Commit();

            exerciseListFragment.Arguments = nameBundle;
        }