public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.Item_Home_Advertisement_Customer, parent, false); Customer_Home_Advertisement_ViewModel_ViewHolder vh = new Customer_Home_Advertisement_ViewModel_ViewHolder(itemView, OnClick); return(vh); }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { Customer_Home_Advertisement_ViewModel_ViewHolder vh = holder as Customer_Home_Advertisement_ViewModel_ViewHolder; Picasso.Get().Load(mdAdvertisement_List[position].Image).Into(vh.AdvertisementImg); }