I have a custom object :
Student.class
public class Student { private String name; private String age; public String getName() { return name;
You can set event Onclick for specific audiences:
Eg:
holder.layout.setClickListener(new ItemClickListener() { @Override public void onClickItem(int pos) { Toast.makeText(context, "CLICK : " + student.getName(), Toast.LENGTH_SHORT).show(); }