{"id":50392599,"url":"https://github.com/Gracker/ListHeaderAnimationPerformance","last_synced_at":"2026-06-16T10:01:00.491Z","repository":{"id":79108637,"uuid":"259864487","full_name":"Gracker/ListHeaderAnimationPerformance","owner":"Gracker","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-10T07:57:53.000Z","size":2746,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-23T01:50:00.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/Gracker.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-29T08:11:09.000Z","updated_at":"2020-07-10T07:57:56.000Z","dependencies_parsed_at":"2023-07-12T01:35:06.168Z","dependency_job_id":null,"html_url":"https://github.com/Gracker/ListHeaderAnimationPerformance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gracker/ListHeaderAnimationPerformance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gracker%2FListHeaderAnimationPerformance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gracker%2FListHeaderAnimationPerformance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gracker%2FListHeaderAnimationPerformance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gracker%2FListHeaderAnimationPerformance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gracker","download_url":"https://codeload.github.com/Gracker/ListHeaderAnimationPerformance/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gracker%2FListHeaderAnimationPerformance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34400456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"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":"2026-05-30T19:00:29.697Z","updated_at":"2026-06-16T10:01:00.475Z","avatar_url":"https://github.com/Gracker.png","language":"HTML","funding_links":[],"categories":["🛠 开发工具"],"sub_categories":[],"readme":"这个项目主要是一个 Demo ,用来对比 ListView 和 RecyclerView 的 Header 在做动画时候的性能表现\r\n\r\n## ListView\r\n\r\nListView 的自定义 HeaderView  做动画的时候, 整个 ListView 都会触发 Layout ,导致每一帧的渲染性能大大下降\r\n\r\n其中每一帧都如下\r\n![Layout](pic/ListView_Layout_Every_Frame.png)\r\n\r\n![Layout](pic/ListView_Layout_Every_Frame_All.png)\r\n\r\n## RecyclerView\r\n\r\nRecyclerView 的自定义 HeaderView 在做动画的时候, 整个 RecyclerView 不会触发 Layout 操作.\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGracker%2FListHeaderAnimationPerformance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGracker%2FListHeaderAnimationPerformance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGracker%2FListHeaderAnimationPerformance/lists"}