开发者

How to move the ListView as page up function on Android?

Now I can do the page down with the following code.

listView.setSelection(listView.getLastVisibl开发者_如何学运维ePosition());

But when I want to move up to the first visible positon, there is no way to do as page up. Because after moving to the first visible position, I will never know which item should be moved to. I only can move to the upper-one item but not like a page moving.

Or is there another way to do this?

Thanks!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜