public void addImageClick()
 {
     System.Diagnostics.Debug.WriteLine("Garfield add Image Click");
     Utils.ImagePicker imagePicker = new Utils.ImagePicker();
     imagePicker.startImagePickerActivity(this, false);
     imagePickerThumbnail = false;
 }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.activity_add_user_board_game);

            EditText titleEditText   = FindViewById <EditText>(Resource.Id.title);
            Button   downloadFromBGG = FindViewById <Button>(Resource.Id.downloadBGG);

            downloadFromBGG.Click += delegate(object sender, EventArgs e) { searchBoardGameByTitleInBGG(titleEditText.Text); };

            RadioButton categoryRadioButton = FindViewById <RadioButton>(Resource.Id.categoryButton);

            categoryRadioButton.Click += delegate(object sender, EventArgs e) { showBoardGameCategoryPopup(categoryRadioButton.Text); };

            LinearLayout bggRankHeader  = FindViewById <LinearLayout>(Resource.Id.bggRankHeader);
            ImageView    arrowView      = bggRankHeader.FindViewById <ImageView>(Resource.Id.expandArrow);
            LinearLayout bggRankWrapper = FindViewById <LinearLayout>(Resource.Id.bggRankWrapper);

            bggRankHeader.Click += delegate(object sender, EventArgs e) { BggRankWrapperClick(arrowView, bggRankWrapper); };

            ImageView thumbnail = FindViewById <ImageView>(Resource.Id.thumbnail);

            Utils.ImagePicker imagePicker = new Utils.ImagePicker();
            thumbnail.Click += delegate(object sender, EventArgs e) { imagePicker.startImagePickerActivity(this, false); imagePickerThumbnail = true; };

            Android.Support.V4.View.ViewPager      userPhotos = FindViewById <Android.Support.V4.View.ViewPager>(Resource.Id.userPhotos);
            Android.Support.V4.App.FragmentManager fm         = this.SupportFragmentManager;
            userPhotosAdapter = new UserPhotosAdapter(fm);

            UserPhotoFragment addPhotoFragment = new UserPhotoFragment();

            System.Diagnostics.Debug.WriteLine("Garfield test " + "Fragment created");
            addPhotoFragment.PhotoPath        = Android.Net.Uri.Parse("android.resource://" + Application.Context.PackageName + "/" + Resource.Drawable.thumbnail).ToString();
            addPhotoFragment.AddPhotoFragment = true;
            addPhotoFragment.UserPhotoClick   = this;

            userPhotosAdapter.UserPhotosFragments.Add(addPhotoFragment);
            userPhotos.Adapter = userPhotosAdapter;

            Button submitButton = FindViewById <Button>(Resource.Id.submit);

            submitButton.Click += submitButtonClick;
        }