Do not use onItemClick

Asked

Viewed 11 times

0

I would like to use the onLongItemClick method . addOnItemTouchListener, but only him. I don’t want to use onItemClick because it disturbs another way I use to click on the list item (through Adapter, I only click on an image instead of the entire item in the list). I wonder if there is any way to remove or disable the use of this onItemClick in the method. Or else some way to use onLongItemClick only inserir a descrição da imagem aqui

  • Just leaving the implementation of the method blank does not solve your problem?

  • No, it is mandatory to have this method. If there is some other way to use only onLongItemClick would be very good tb

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.