public GridViewAdapter(Context context, AGridView aView, XamGridView view, int itemWidth) : base(context)
 {
     _context   = context;
     _aView     = aView;
     _view      = view;
     _itemWidth = itemWidth;
 }
 private void InitComponents()
 {
     _gridView            = FindViewById <Android.Widget.GridView>(Resource.Id.gridView);
     _gridView.Adapter    = new ImageAdapter(this);
     _gridView.ItemClick += gridView_ItemClick;
 }
 private void InitComponents()
 {
     _gridView = FindViewById<Android.Widget.GridView>(Resource.Id.gridView);
     _gridView.Adapter = new ImageAdapter(this);
     _gridView.ItemClick += gridView_ItemClick;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GridViewAdapter"/> class.
 /// </summary>
 /// <param name="context">The application context.</param>
 /// <param name="aView">The native Android view.</param>
 /// <param name="view">The Xamarin Forms view.</param>
 public GridViewAdapter(Context context, AGridView aView, GridView view) : base(context)
 {
     _context = context;
     _aView   = aView;
     _view    = view;
 }