https://github.com/bufferapp/customviewindicator
An Android ViewPager indicator that allows you to provide custom views for display
https://github.com/bufferapp/customviewindicator
Last synced: 4 months ago
JSON representation
An Android ViewPager indicator that allows you to provide custom views for display
- Host: GitHub
- URL: https://github.com/bufferapp/customviewindicator
- Owner: bufferapp
- Created: 2018-09-13T13:47:17.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-06-04T19:31:05.000Z (8 months ago)
- Last Synced: 2025-10-06T14:59:38.961Z (4 months ago)
- Language: Kotlin
- Size: 4.36 MB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom View Indicator
An 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!
## Usage
Define the `CustomViewPageIndicator` in your layout file:
Assign a list of views to the `CustomViewPageIndicator`
pageIndicator.indicatorViews = listOf(customViews)
Attach the `CustomViewPageIndicator` to a ViewPager instance:
pageIndicator.attachToViewPager(viewPager)