开发者

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

开发者 https://www.devze.com 2023-02-05 18:56 出处:网络
Now I can do the page down with the following code. listView.setSelection(listView.getLastVisibl开发者_如何学运维ePosition());

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

精彩评论

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

关注公众号