protected override Android.Views.View GetCellCore(Cell item, Android.Views.View convertView, ViewGroup parent, Context context)
        {
            var view = convertView ?? base.GetCellCore(item, convertView, parent, context);

            var baseViewCell = (BaseCell)item;

            var drawable = new StateListDrawable();

            drawable.AddState(new int[] { Android.Resource.Attribute.StateSelected }, new ColorDrawable(baseViewCell.SelectionColor.ToAndroid()));
            drawable.AddState(new int[] { Android.Resource.Attribute.StatePressed }, new ColorDrawable(baseViewCell.SelectionColor.ToAndroid()));
            drawable.AddState(StateSet.WildCard.ToArray(), new ColorDrawable(baseViewCell.BackgroundColor.ToAndroid()));


            view.Background = drawable;


            return(view);
        }
 public void OnItemSelected(CursorWheelLayout p0, Android.Views.View p1, int p2)
 {
     Toast.MakeText(this.Context, "Selected: " + FirstImage[p2].ImageDescription, ToastLength.Short).Show();
 }
 /// <summary>
 /// Sets the currently selected marker and annotation.
 /// </summary>
 /// <param name="marker">The currently selected marker.</param>
 /// <param name="annotation">The currently selected annotation.</param>
 /// <returns>The annotation to be returned.</returns>
 private Android.Views.View SetView(Marker marker, Android.Views.View annotation)
 {
     this.selectedMarker     = marker;
     this.selectedAnnotation = annotation;
     return(this.selectedAnnotation);
 }