dimanche 8 mai 2016

CheckBox OnLongClick Behavior

I have a list of items disposed vertically. Each item has a CheckBox and a TextView. I'm trying to achieve a LongClick behavior for the CheckBox. More precisely i want it to change it with a trash icon while is LongClicked. On release it must become again a checkBox and also maintain the Check/Uncheck behavior on simple click.

How can i achieve that? How many approaches are there? I apriciate any king of help!

Aucun commentaire:

Enregistrer un commentaire