protected override void OnLookupViewItems(View layout, GenericViewHolder viewHolder) { viewHolder.AddView("Avi", layout.FindViewById <TextView>(Resource.Id.Avi)); viewHolder.AddView("CourseCode", layout.FindViewById <TextView>(Resource.Id.Name)); viewHolder.AddView("Institution", layout.FindViewById <TextView>(Resource.Id.Description)); viewHolder.AddView("MoreVert", layout.FindViewById <ImageView>(Resource.Id.moreVert)); layout.FindViewById <ImageView>(Resource.Id.moreVert).Click += delegate { OnMoreClicked?.Invoke(this, viewHolder); }; }
protected override void OnLookupViewItems(View layout, GenericViewHolder viewHolder) { viewHolder.AddView("Name", layout.FindViewById <TextView>(Resource.Id.studentNameLbl)); viewHolder.AddView("IndexNumber", layout.FindViewById <TextView>(Resource.Id.studentIdLbl)); }