开发者

Grid View Scroller

开发者_Python百科

I am new to Andriod, I have n of TextView inside the GridView, which comes with its own scroller, I need a method which tell whether a particular View in the GridView is Visible in the View Port?


you can use one of the adapter methods: refer to this link

public int getFirstVisiblePosition ()

Since: API Level 1 Returns the position within the adapter's data set for the first item displayed on screen. Returns The position within the adapter's data set

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜