Skip to content

Cmahjong/indicator

Repository files navigation

indicator

init Indicator

效果图

普通圆形指示器

sample

普通矩形指示器

sample

普通文字指示器

sample

平滑圆形指示器

sample

内外阴影文字指示器指示器

sample

如何使用

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.yinjinyj:indicator:1.0.0'
}

使用方法

1XML直接引用布局就行了

(1)CircleIndicatorView

img

(2)RectIndicatorView

img

(3)TextIndicatorView

img

(4)CircleMoveIndicatorView

img

img

最后都要添加一个 indicator_view.start()就可以了

viewpage的轻量级指示器(有需求请在issues里面提,到时候会添加上去的)