How can I set OnClickListener to two buttons in RecyclerView?
问题 In my android app I have one activity to show a RecyclerView in which each row is composed by a TextView and 2 buttons. Just like that: Well, following many explanations of internet I have made this Adapter: public class ListAdapter extends RecyclerView.Adapter<ListAdapter.ViewHolder> { private LayoutInflater layoutInflater; protected Vector<List> lists; public ListAdapter(Context context, Vector lists) { layoutInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER