An open API service indexing awesome lists of open source software.

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

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)