I have CardViews in a ReyclerView list. I set up so that a LongClick on a CardView launches a DialogFragment. On the CardView is a checkbox and I want to exclude the checkbox from the LongClick method; that is, I don't want the DialogFragment to load if the checkbox is LongClicked. I added 'android:longClickable="false"' and 'android:focusable="false"' to the CardView layout but that did not work. How would I achieve?
Aucun commentaire:
Enregistrer un commentaire