public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.Item_BookAppointment_Therapist_Customer, parent, false); Customer_BookAppointment_Therapist_ViewModel_ViewHolder vh = new Customer_BookAppointment_Therapist_ViewModel_ViewHolder(itemView, OnClick); return(vh); }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { Customer_BookAppointment_Therapist_ViewModel_ViewHolder vh = holder as Customer_BookAppointment_Therapist_ViewModel_ViewHolder; vh.txtTherapist.Text = mTherapist_List[position].mTxtTherapist; }