{"id":18975031,"url":"https://github.com/bufferapp/customviewindicator","last_synced_at":"2025-10-06T14:59:39.717Z","repository":{"id":79937283,"uuid":"148644325","full_name":"bufferapp/CustomViewIndicator","owner":"bufferapp","description":"An Android ViewPager indicator that allows you to provide custom views for display","archived":false,"fork":false,"pushed_at":"2025-06-04T19:31:05.000Z","size":4568,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-06T14:59:38.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/bufferapp.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}},"created_at":"2018-09-13T13:47:17.000Z","updated_at":"2025-06-04T19:31:08.000Z","dependencies_parsed_at":"2023-09-17T16:47:20.511Z","dependency_job_id":null,"html_url":"https://github.com/bufferapp/CustomViewIndicator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bufferapp/CustomViewIndicator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2FCustomViewIndicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2FCustomViewIndicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2FCustomViewIndicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2FCustomViewIndicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufferapp","download_url":"https://codeload.github.com/bufferapp/CustomViewIndicator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufferapp%2FCustomViewIndicator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278629052,"owners_count":26018482,"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-10-06T02:00:05.630Z","response_time":65,"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":"2024-11-08T15:17:05.913Z","updated_at":"2025-10-06T14:59:39.713Z","avatar_url":"https://github.com/bufferapp.png","language":"Kotlin","readme":"# Custom View Indicator\nAn Android ViewPager indicator that allows you to provide custom views for display. We used this during a new feature we built, figured it might be useful for someone else along the line!\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src =\"demo.gif\" /\u003e\n\u003c/p\u003e\n\n## Usage\n\nDefine the `CustomViewPageIndicator` in your layout file:\n\n    \u003corg.buffer.android.customviewindicator.CustomViewPageIndicator\n        android:id=\"@+id/view_indicator\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:gravity=\"center\"\n        app:selectedItem=\"0\"\n        app:itemRightMargin=\"8dp\"\n        app:itemleftMargin=\"8dp\" /\u003e\n        \nAssign a list of views to the `CustomViewPageIndicator`\n\n    pageIndicator.indicatorViews = listOf(customViews)\n    \nAttach the `CustomViewPageIndicator` to a ViewPager instance:\n\n    pageIndicator.attachToViewPager(viewPager)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Fcustomviewindicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufferapp%2Fcustomviewindicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufferapp%2Fcustomviewindicator/lists"}