GetView
method in custom adapter .Handle the logic in Click event.
public override View GetView(int position, View convertView, ViewGroup parent) { var item = items[position]; View view = convertView; if (view == null) // no view to re-use, create new view = context.LayoutInflater.Inflate(Resource.Layout.CustomView, null); view.FindViewById<TextView>(Resource.Id.Text1).Text = item.Heading; view.FindViewById<TextView>(Resource.Id.Text2).Text = item.SubHeading; view.FindViewById<Button>(Resource.Id.Image).Click += HomeScreenAdapter_Click; return view; } private void HomeScreenAdapter_Click(object sender, EventArgs e) { } }
Answers
GetView
method in custom adapter .Handle the logic in Click event.