Skip to content

Latest commit

 

History

History
120 lines (65 loc) · 6.78 KB

README_CN.md

File metadata and controls

120 lines (65 loc) · 6.78 KB

BannerViewPager

License MinSdk JitPack Android Arsenal Android Arsenal Stars

English | 中文

腾讯视频、QQ音乐、酷狗音乐、支付宝、天猫、淘宝、优酷视频、喜马拉雅、网易云音乐、哔哩哔哩、全民K歌等App的Banner样式都可以通过BannerViewPager实现哦!

使用方法

效果预览

由于蒲公英平台限制,每个版本最多只能下载10次。其他版本下载链接:V3.4.0下载,V3.2.0下载

扫描下载Demo

1.PageStyle

一屏多页示例

MULTI_PAGE MULTI_PAGE_SCALE MULTI_PAGE_OVERLAP
MULTI_PAGE MULTI_PAGE MULTI_PAGE

目前指示器已经从BannerViewPager中分离出来,现在单独为一个仓库,新的仓库地址为ViewPagerIndicator,你可以点击连接了解更多关于ViewPagerIndicator的信息。

(1)IndicatorStyle 与 IndicatorSlideMode

Indicator使用示例

BannerViewPager目前已支持三种IndicatorViewStyle,以及五种IndicatorSlideMode,分别如下:

属性 CIRCLE DASH ROUND_RECT
NORMAL CIRCLE_NORMAL DASH_NORMAL ROUND_RECT_NORMAL
SMOOTH CIRCLE_SMOOTH DASH_SMOOTH ROUND_RECT_SMOOTH
WORM CIRCLE_WORM DASH_WORM ROUND_WORM
COLOR CIRCLE_COLOR DASH_COLOR ROUND_COLOR
SCALE CIRCLE_SCALE DASH_SCALE ROUND_SCALE

(2)Custom Indicator

同时BannerViewPager还提供了自定义IndicatorView的功能。只要继承BaseIndicatorView或者实现IIndicator接口,并重写相应方法,就可以为所欲为的打造任意的Indicator了。

自定义Indicator示例

Figure Indicator Drawable Indicator Indicator below of Banner
CIRCLE DASH NORMAL

有问题可以扫码加QQ群交流

QQ交流群60902509

赞赏

如果您觉得BVP库还不错,您可以对BVP打赏哦,您的支持将是我持续维护的动力。

支付宝 微信支付
NORMAL SMOOTH

感谢

玩Android

finite-cover-flow

zguop-banner

License

Copyright 2017-2020 zhpanvip

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.