开发者

ListView set first visible position

In ListView I can get index of the first item displayed by using getFirstVisiblePosition() How can I set an item at a particular index to display in the first po开发者_Python百科sition - I want something like setFirstVisiblePosition( int index )


You can use setSelection(index) so the display will jump to the index you want.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜