java - Both click and longclick respond in listview -


this question has answer here:

i have implemented both onitemclicklistener , onitemlongclicklistener in listview. - itemclick start new activity; - itemlongclick open popup. when longpress item both listeners react.

how set onclick not respond when longpress?

you need return true in longclick onclick not called. @ this: how implement onitemlongclicklistener , onitemclicklistener event on listview row in android?

this question has been answered on forum. :)


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -