{"id":28610214,"url":"https://github.com/crazycodeboy/grouplistview","last_synced_at":"2025-09-05T18:40:25.989Z","repository":{"id":28249446,"uuid":"31756372","full_name":"crazycodeboy/GroupListView","owner":"crazycodeboy","description":"仿支付宝账单列表效果","archived":false,"fork":false,"pushed_at":"2015-05-20T09:22:20.000Z","size":2473,"stargazers_count":63,"open_issues_count":1,"forks_count":31,"subscribers_count":7,"default_branch":"dev","last_synced_at":"2025-06-11T22:52:35.830Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crazycodeboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-06T06:46:18.000Z","updated_at":"2024-05-10T03:23:54.000Z","dependencies_parsed_at":"2022-06-26T08:00:14.856Z","dependency_job_id":null,"html_url":"https://github.com/crazycodeboy/GroupListView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/crazycodeboy/GroupListView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazycodeboy%2FGroupListView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazycodeboy%2FGroupListView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazycodeboy%2FGroupListView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazycodeboy%2FGroupListView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazycodeboy","download_url":"https://codeload.github.com/crazycodeboy/GroupListView/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazycodeboy%2FGroupListView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273802421,"owners_count":25171061,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-11T22:42:02.081Z","updated_at":"2025-09-05T18:40:25.980Z","avatar_url":"https://github.com/crazycodeboy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GroupListView简介 #\n- GroupListView支持上拉加载下拉刷新，并且可以根据需要选择是否启用下拉刷新、上拉加载\n- GroupListView支持列表项悬停效果    \n \n## 运行效果图 ##\n![运行效果图](https://github.com/crazycodeboy/GroupListView/blob/dev/raw/%E8%BF%90%E8%A1%8C%E6%95%88%E6%9E%9C%E5%9B%BE.gif?raw=true)\n\n\n## PS. ##\n\n\u003e为了实现支付宝账单列表的悬停、上拉加载、下拉刷新的效果，我从Git上Fetch了pulltorefresh和PinnedSectionList两个开源项目，并对pulltorefresh进行修改实现上拉加载的效果，将修改后的pulltorefresh更名成了ListViewPlus，最后将PinnedSectionList的library依赖于ListViewPlus,就实现了带有悬停效果并且支持上拉加载、下拉刷新的GroupListView,现在将其开源出来供大家使用。\n\n## 使用方法 ##\n1.  GroupListView是基于ListView开发的一个控件，所以大家可以使用ListView的方式来使用它。\n2.  ListViewPlus部分：关于ListViewPlus方面的功能大家可以参考[https://github.com/crazycodeboy/ListViewPlus](https://github.com/crazycodeboy/ListViewPlus \"ListViewPlus\")\n3.  PinnedSectionList部分：\n\n PinnedSectionList的使用需要一个实现如下方法的适配器：\n\n```java\n@Override\npublic int getItemViewType(int position) {\n\treturn items.get(position).getType();\n}\n@Override\npublic int getViewTypeCount() {\n\treturn 2;\n}\n@Override\npublic boolean isItemViewTypePinned(int viewType) {\n\treturn viewType==Item.SECTION;\n}\n```\n\n4 .其它使用细节可以参照实例。\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazycodeboy%2Fgrouplistview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazycodeboy%2Fgrouplistview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazycodeboy%2Fgrouplistview/lists"}