{"id":13642808,"url":"https://github.com/songhanghang/Smart-HeaderFooter-RecyclerView","last_synced_at":"2025-04-20T21:31:37.573Z","repository":{"id":81366138,"uuid":"57028339","full_name":"songhanghang/Smart-HeaderFooter-RecyclerView","owner":"songhanghang","description":"Easy implements Header \u0026 Footer view, Support LinerLayoutManager、GridLayoutManager、StaggeredLayoutManager, With least modify!","archived":false,"fork":false,"pushed_at":"2017-05-09T07:23:24.000Z","size":15878,"stargazers_count":271,"open_issues_count":0,"forks_count":53,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-11-09T14:39:13.216Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/songhanghang.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-04-25T09:16:29.000Z","updated_at":"2024-08-07T19:33:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"8da51194-03b8-4453-af27-fb1e870d1675","html_url":"https://github.com/songhanghang/Smart-HeaderFooter-RecyclerView","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/songhanghang%2FSmart-HeaderFooter-RecyclerView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/songhanghang%2FSmart-HeaderFooter-RecyclerView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/songhanghang%2FSmart-HeaderFooter-RecyclerView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/songhanghang%2FSmart-HeaderFooter-RecyclerView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/songhanghang","download_url":"https://codeload.github.com/songhanghang/Smart-HeaderFooter-RecyclerView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249965514,"owners_count":21352920,"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-02T01:01:36.511Z","updated_at":"2025-04-20T21:31:36.753Z","avatar_url":"https://github.com/songhanghang.png","language":"Java","funding_links":[],"categories":["Header"],"sub_categories":[],"readme":"# SmartHeaderFooterRecyclerView\n\nEasy implements Header \u0026amp; Footer view, Support Liner、Grid、StaggeredLayoutManager, With least modify！\n\n非常方便的实现Recyclerview添加HeaderView和FooterView, 支持 LinearLayoutManager \u0026 GridLayoutManager \u0026 StaggeredLayoutManager\n\n## Feature\n\n* 1, No need change anyting with your target adapter\n\n     不需要修改Target Adapter\n* 2, Not destroy target adapter position\n\n     不会破坏Target adapter中的 position (PS: 不需要 +1 -1)\n* 3, Support dynamic add \u0026 remove\n\n     支持动态添加移除\n* 4, Support LinearLayoutManager \u0026 GridLayoutManager \u0026 StaggeredLayoutManager\n \n     支持 LinearLayoutManager \u0026 GridLayoutManager \u0026 StaggeredLayoutManager 三种布局管理器\n\n* 5, No dependencies code build order\n \n     不依赖RecyclerView设置顺序 (eg: 不需要提前设置LayoutManager)\n\n## Gradle Dependency (only 18.8KB)\n\nAdd the library to your project `build.gradle`\n```gradle\ndependencies {\n    compile 'com.songhang:smart-headerfooter-recyclerview:1.0.1'\n}\n```\n\n## Usage\n```java\n      RecyclerView.Adapter targetAdapter = new RecyclerView.Adapter() { ... };\n      SmartRecyclerAdapter smartRecyclerAdapter = new SmartRecyclerAdapter(targetAdapter);\n      smartRecyclerAdapter.setFooterView(footerView);\n      smartRecyclerAdapter.setHeaderView(headerView);\n      recyclerView.setAdapter(smartRecyclerAdapter);\n```\n\n## Screenshot\n![Renderings](https://github.com/songhanghang/Smart-HeaderFooter-RecyclerView/blob/master/screenshot/screen.png)\n![Renderings](https://github.com/songhanghang/Smart-HeaderFooter-Recyclerview/blob/master/screenshot/hammerheadMRA58Nsonghang04272016134831.gif)\n\n## License\n\n    Copyright 2016-2017 songhang\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonghanghang%2FSmart-HeaderFooter-RecyclerView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonghanghang%2FSmart-HeaderFooter-RecyclerView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonghanghang%2FSmart-HeaderFooter-RecyclerView/lists"}