开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜