简体   繁体   中英

android listview update list when scrolling past the top

I'm wondering how to achieve the nice scroll past top functionality, that then updates the contents of the listview.

Do I have to do a custom ListView or is there some kind of built-in functionality?

Thanks

There is no such functionality out of the box on Android. However there are some implementations of the "Pull to Refresh" feature on Internet. You can try code from Chris Banes: Pull To Refresh

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM