From b151f63f93478191a1f7262779d0fdc443712854 Mon Sep 17 00:00:00 2001 From: zhpanvip Date: Tue, 3 Sep 2019 00:40:06 +0800 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5a2b5825..541c56e1 100644 --- a/README.md +++ b/README.md @@ -48,12 +48,10 @@ |BannerViewPager setIndicatorRadius(@DimenRes int normalRadius, @DimenRes int checkRadius) |设置指示器圆点半径 | normalRadius:未选中时半径 checkedRadius:选中时的半径 | | BannerViewPager setIndicatorMargin(float indicatorMarginDp) | 指示器圆点间距| 单位dp 默认值圆点直径| | BannerViewPager setIndicatorMargin(@DimenRes int marginRes) | 指示器圆点间距| DimenRes 默认值圆点直径| -| BannerViewPager setIndicatorView(IIndicator indicatorView) | 设置自定义指示器| 设置自定义指示器后以上关于IndicatorView的参数均会失效| +| BannerViewPager setIndicatorView(IIndicator indicatorView) | 设置自定义指示器| 2.2.3新增 设置自定义指示器后以上关于IndicatorView的参数均会失效| | BannerViewPager setCurrentItem(final int position) | 切换到第position个页面| | | BannerViewPager setCurrentItem(final int position, final boolean smoothScroll) | 平滑切换到第position个页面 | | | BannerViewPager setHolderCreator(HolderCreator holderCreator) |设置HolderCreator |必须设置HolderCreator,否则会抛出NullPointerException| -| BannerViewPager setPageTransformer(ViewPager.PageTransformer transformer) |设置transformer |V2.1.2新增 | -| BannerViewPager setPageTransformerStyle(TransformerStyle style) |内置transformer样式 |V2.1.2新增 可选参数(DEPTH, ROTATE_DOWN, STACK, ACCORDION) | | void startLoop() |开启自动轮播 | 初始化BannerViewPager时不必调用该方法,设置setAutoPlay后会调用startLoop() | | void stopLoop() | 停止自动轮播 | | | void create(List list) |初始化并构造BannerViewPager |必须调用,否则前面设置的参数无效 | @@ -264,7 +262,7 @@ RectangleIndicatorView indicatorView = new RectangleIndicatorView(this); (8)目前Indicator部分代码比较乱,还有很大很大的优化空间,后续版本将持续优化 -[更多详情请点击此处](http://blog.csdn.net/qq_20521573/article/details/52037929) +[更多详情请点击此处](https://juejin.im/post/5d6bce24f265da03db0790d1) ## 感谢