{"id":20457530,"url":"https://github.com/takwolf/android-refreshandloadmore-demo","last_synced_at":"2025-08-20T04:31:36.470Z","repository":{"id":90053693,"uuid":"93948744","full_name":"TakWolf/Android-RefreshAndLoadMore-Demo","owner":"TakWolf","description":"一种简单且优雅的下拉刷新和加载更多分页的解决方案。","archived":false,"fork":false,"pushed_at":"2024-12-03T04:38:05.000Z","size":452,"stargazers_count":47,"open_issues_count":0,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-10T05:51:32.254Z","etag":null,"topics":["android","loadmore","refresh"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TakWolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-10T15:37:38.000Z","updated_at":"2024-12-03T04:38:08.000Z","dependencies_parsed_at":"2023-10-04T22:45:08.256Z","dependency_job_id":"a1aa7904-d5a4-4fe6-8dde-eea52da1488b","html_url":"https://github.com/TakWolf/Android-RefreshAndLoadMore-Demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakWolf%2FAndroid-RefreshAndLoadMore-Demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakWolf%2FAndroid-RefreshAndLoadMore-Demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakWolf%2FAndroid-RefreshAndLoadMore-Demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakWolf%2FAndroid-RefreshAndLoadMore-Demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TakWolf","download_url":"https://codeload.github.com/TakWolf/Android-RefreshAndLoadMore-Demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230394228,"owners_count":18218707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","loadmore","refresh"],"created_at":"2024-11-15T12:07:43.297Z","updated_at":"2025-08-20T04:31:36.462Z","avatar_url":"https://github.com/TakWolf.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android - RefreshAndLoadMore Demo\n\n[![Platform](https://img.shields.io/badge/platform-Android-brightgreen)](https://developer.android.com)\n[![API](https://img.shields.io/badge/API-21%2B-brightgreen)](https://android-arsenal.com/api?level=21)\n[![License](https://img.shields.io/github/license/TakWolf/Android-RefreshAndLoadMore-Demo)](LICENSE)\n\n一种简单且优雅的下拉刷新和加载更多分页的解决方案。\n\n应用架构符合 [Jetpack](https://developer.android.com/jetpack/getting-started) 。\n\n下拉刷新基于 [SwipeRefreshLayout](https://developer.android.com/jetpack/androidx/releases/swiperefreshlayout) 实现。\n\n加载更多基于 [HeaderAndFooterRecyclerView](https://github.com/TakWolf/Android-HeaderAndFooterRecyclerView) 中的 `LoadMoreFooter` 实现。\n\n适配了沉浸式导航栏，使用了 [InsetsWidget](https://github.com/TakWolf/Android-InsetsWidget) 方案。\n\n加载更多支持预载。并且数据填充不足一屏的情况，加载更多会自动触发。\n\n具体思路和实现细节请参考程序。\n\n![Demo](https://github.com/TakWolf/static.takwolf.com/blob/master/www/github/Android-RefreshAndLoadMore-Demo/01.gif)\n\n## License\n\n[Apache License 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakwolf%2Fandroid-refreshandloadmore-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakwolf%2Fandroid-refreshandloadmore-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakwolf%2Fandroid-refreshandloadmore-demo/lists"}