passing values from recycler adapter to fragment in android
问题 I've a recycler adapter where I've added setOnClickListener for items in adapter. Code is as given below: @Override public void onBindViewHolder(final FiltersAdapter.MyViewHolder holder, final int position) { holder.mOrganizer.setText(filtersList.get(position)); holder.mLayout.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { try { //Log.e("message","ONclick FIlter"); if (holder.mOrganizerCheck.isChecked()){ holder.mOrganizerCheck.setChecked(false); }else