{"id":13848584,"url":"https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter","last_synced_at":"2025-07-12T13:31:41.960Z","repository":{"id":22573742,"uuid":"25915218","full_name":"liaohuqiu/android-GridViewWithHeaderAndFooter","owner":"liaohuqiu","description":"A GridView which can addHeaderView and addFooterView","archived":false,"fork":false,"pushed_at":"2016-08-19T07:07:52.000Z","size":1574,"stargazers_count":1334,"open_issues_count":34,"forks_count":420,"subscribers_count":68,"default_branch":"master","last_synced_at":"2024-11-21T16:13:14.475Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/liaohuqiu.png","metadata":{"files":{"readme":"README-cn.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-29T10:16:41.000Z","updated_at":"2024-10-18T14:34:47.000Z","dependencies_parsed_at":"2022-08-21T08:00:39.536Z","dependency_job_id":null,"html_url":"https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liaohuqiu%2Fandroid-GridViewWithHeaderAndFooter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liaohuqiu%2Fandroid-GridViewWithHeaderAndFooter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liaohuqiu%2Fandroid-GridViewWithHeaderAndFooter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liaohuqiu%2Fandroid-GridViewWithHeaderAndFooter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liaohuqiu","download_url":"https://codeload.github.com/liaohuqiu/android-GridViewWithHeaderAndFooter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225760506,"owners_count":17520000,"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":[],"created_at":"2024-08-04T19:00:52.988Z","updated_at":"2024-11-22T00:30:44.164Z","avatar_url":"https://github.com/liaohuqiu.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"###### [关注我的GitHub吧，江湖救急，需要你的支持和帮助](http://www.liaohuqiu.net/cn/posts/follow-me-on-github/)\n\nGithub: https://github.com/liaohuqiu\n\n微博: http://weibo.com/liaohuqiu\n\n---\n\n### GridView with Header and Footer\n\n![Screen Shot](https://raw.githubusercontent.com/liaohuqiu/android-GridViewWithHeaderAndFooter/master/screen-shot.png)\n\n只有一个文件，你可以将源代码放入你的项目中。另外项目发布到了Maven中央库，你可以通过`pom`或者`gradle`引入。\n\n#### Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ein.srain.cube\u003c/groupId\u003e\n    \u003cartifactId\u003egrid-view-with-header-footer\u003c/artifactId\u003e\n    \u003ctype\u003ejar\u003c/type\u003e\n    \u003cversion\u003e1.0.12\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n#### Gradle\n\n``` groovy\ncompile 'in.srain.cube:grid-view-with-header-footer:1.0.12'\n```\n\n### 使用示例\n\n```java\nGridViewWithHeaderAndFooter gridView = (GridViewWithHeaderAndFooter) v.findViewById(R.id.ly_image_list_grid);\n\nLayoutInflater layoutInflater = LayoutInflater.from(this);\nView headerView = layoutInflater.inflate(R.layout.test_header_view, null);\nView footerView = layoutInflater.inflate(R.layout.test_footer_view, null);\ngridView.addHeaderView(headerView);\ngridView.addFooterView(footerView);\n```\n\n### Thanks\n\n[HeaderGridView](https://android.googlesource.com/platform/packages/apps/Gallery2/+/idea133/src/com/android/photos/views/HeaderGridView.java)\n\n### License\n\nApache 2\n\n### 联系方式 / 帮助支持\n\nPlease fell free to contact me if there is any problem when using the library.\n\n* srain@php.net\n* twitter: https://twitter.com/liaohuqiu\n* 微博: http://weibo.com/liaohuqiu\n* QQ 群: 271918140\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliaohuqiu%2Fandroid-GridViewWithHeaderAndFooter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliaohuqiu%2Fandroid-GridViewWithHeaderAndFooter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliaohuqiu%2Fandroid-GridViewWithHeaderAndFooter/lists"}