How can the long - press gesture act only on a certain element in a list item?

I use the effect in the picture to do the test, I want to achieve a habit of multiple punch card effect, click to complete a punch card, long press to cancel a punch card.

I'm having a problem right now. I want the long press gesture to only work on the trash icon, not extend to the entire item, causing the entire item to be highlighted.

What should I do about it? I tried a lot of methods, but I didn't achieve the effect.

How can the long - press gesture act only on a certain element in a list item?
 
 
Q