public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            ListRowViewHoldernew mHolder = holder as ListRowViewHoldernew;

            mCabDetails            = mDataItems[position];
            mHolder.provider.Text  = mCabDetails.Provider;
            mHolder.eta.Text       = mCabDetails.Eta;
            mHolder.type.Text      = mCabDetails.Type;
            mHolder.basefare.Text  = mCabDetails.CurrentEstimate.FareData.BaseFare;
            mHolder.freefare.Text  = "0";
            mHolder.cstperkm.Text  = mCabDetails.CurrentEstimate.FareData.CostPerKilometer;
            mHolder.cstpermin.Text = mCabDetails.CurrentEstimate.FareData.CostPerMinute;
            mHolder.surge.Text     = mCabDetails.CurrentEstimate.FareData.Surge;
            ImageLoader.Instance.DisplayImage(mCabDetails.ImageURL, mHolder.imageview);
            mHolder.imageview.SetImageResource(Resource.Drawable.Icon);
        }
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            View v = LayoutInflater.From(mContext).Inflate(Resource.Layout.layout_cabview, parent, false);

            typeface = Typeface.CreateFromAsset(mActivity.Assets, "JosefinSans-SemiBold.ttf");
            TextView provider = v.FindViewById <TextView>(Resource.Id.provider);

            provider.SetTypeface(typeface, TypefaceStyle.Normal);
            TextView type = v.FindViewById <TextView>(Resource.Id.type);

            type.SetTypeface(typeface, TypefaceStyle.Normal);
            TextView eta = v.FindViewById <TextView>(Resource.Id.eta);

            eta.SetTypeface(typeface, TypefaceStyle.Normal);
            TextView basefare = v.FindViewById <TextView>(Resource.Id.basefare);

            basefare.SetTypeface(typeface, TypefaceStyle.Normal);
            TextView freefare = v.FindViewById <TextView>(Resource.Id.nooffree);

            freefare.SetTypeface(typeface, TypefaceStyle.Normal);
            TextView cstperkm = v.FindViewById <TextView>(Resource.Id.costperkm);

            cstperkm.SetTypeface(typeface, TypefaceStyle.Normal);
            TextView cstpermin = v.FindViewById <TextView>(Resource.Id.costpermin);

            cstpermin.SetTypeface(typeface, TypefaceStyle.Normal);
            TextView surge = v.FindViewById <TextView>(Resource.Id.surge);

            surge.SetTypeface(typeface, TypefaceStyle.Normal);
            ImageView            imageView = v.FindViewById <ImageView>(Resource.Id.imageView);
            CardView             myView    = v.FindViewById <CardView>(Resource.Id.mCardView);
            ListRowViewHoldernew holder    = new ListRowViewHoldernew(v, OnClick)
            {
                mCardView = myView, provider = provider, type = type, eta = eta, basefare = basefare, freefare = freefare, cstperkm = cstperkm, cstpermin = cstpermin, surge = surge, imageview = imageView
            };

            return(holder);
        }