First, I would like to apologize for my English. That's not my native language.
I have a simple gallery in Android. Images are loaded in GridView
. I have problem with onItemClickListener
and onTouchListener
. I have set onItemClickListener
for GridView
and onTouchListener
for childs of GridView
(ImageViews
). When I click on the image, it should be shown on the center of phone screen and when I press it, it should zoom-in on the place where my finger was and when I release my finger, it should zoom-out.
The problem is that when is set onTouchListener
, only it is fired. I would like to recognize when I clicked and when I pressed-released.
Thank you for your help.