how to fetch position of the image inside the grid view?
I have a set of imageviews placed together in a row inside a grid view. If I am touching on an imageview in it and moving forward or backwar开发者_如何转开发d through the image set, I should get which image I have touched right now(eg: its position in the grid view). How will I achieve it? Can anyone please help?
The position
parameter in your onItemClick()
method is the position
.
精彩评论