pointToPosition in GridView does not work
- by Unstoppable
I have this code:
long position = imageAdapter.getItemId (gridView.pointToPosition(
(int) event.getX() (int) event.getY()));
Theoretically, this code should work, but when I display information Log.d function, I always get a "0" position. What am I doing wrong?
PS. The code I have implemented the method public void onMyGridTouch from this topic…