public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View mMoodleViewList = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.List, parent, false); TextView Item = mMoodleViewList.FindViewById <TextView>(Resource.Id.textView); ListVew view = new ListVew(mMoodleViewList) { mItem = Item }; return(view); }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { ListVew myHolder = holder as ListVew; myHolder.mItem.Text = LIstDataRecycleView[position]; }