Fără Descriere

zhpanvip 2f8809b824 Fix warning,update indicator version. 1 an în urmă
.github ef9a4120b2 Update FUNDING.yml 5 ani în urmă
app 2e9b9c2e5c For #300, Opt the example code of ViewBinding and DataBinding 2 ani în urmă
bannerview 2f8809b824 Fix warning,update indicator version. 1 an în urmă
codestyle 2a8a8f5eac Code format with SquareAndroid code style. 3 ani în urmă
gradle ac87d356b6 Update gradle version to 7.2 2 ani în urmă
.gitignore ed2ea477f8 Fix setRoundCorner on API 21 3 ani în urmă
LICENSE 63fc39d7a5 Create LICENSE 5 ani în urmă
README.md 6590c7d1f0 Update README.md 2 ani în urmă
README_CN.md f0dbce662e Update README_CN.md 2 ani în urmă
build.gradle ac87d356b6 Update gradle version to 7.2 2 ani în urmă
git 16134c571c 优化demo 5 ani în urmă
gradle.properties 88c09a7271 Migrate to androidx 5 ani în urmă
gradlew 7cd1aff3e4 add Annotation for IndicatorGravity 5 ani în urmă
gradlew.bat 8fce1800a5 Initial commit 8 ani în urmă
settings.gradle e7704609da remove http module. 4 ani în urmă

README.md

BannerViewPager

License MinSdk JitPack Android Arsenal Android Arsenal Stars

English | 中文

Tencent Video,QQ Music,KuGou,AliPay,Tmall,TaoBao,YouKu,Himalaya,NetEase Music,Bilibili ect. All of above App's Banner can be implements By BannerViewPager.

Usage

Preview

### Click here or scan the QR code to download demo apk.

Download links for other versions: Download V3.5.0,Download V3.4.0

QRCode

1.PageStyle

Sample Click Here

| MULTI_PAGE |MULTI_PAGE_SCALE | MULTI_PAGE_OVERLAP | |--|--|--| | MULTI_PAGE |MULTI_PAGE |MULTI_PAGE |

More Page Styles

Many page styles can be implement using the setPageStyle() and setRevealWidth().

| Style 1 | Style 2 | Style 3 | |--|--|--| | MULTI_PAGE1 |MULTI_PAGE2 |MULTI_PAGE3 |

The Indicator library was split from BannerViewPager,the new repo is ViewPagerIndicator,Click the link to see more information about ViewPagerIndicator

(1)setIndicatorStyle and setIndicatorSlideMode

BannerViewPager supports three Indicator Styles and five Indicator Slide mode now.

Sample Click Here

| Attrs | 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

It's also support to custom indicator style,just need extends BaseIndicatorView or implement the IIndicator and override methods, then you can draw Indicators for whatever you want.

Sample Click Here

| Figure Indicator | Drawable Indicator | Indicator below of Banner | |--|--|--| | CIRCLE | DASH | NORMAL |

Contact

If you have any question regard to BannerViewPager, please scan the QR code and join the QQ group to communicate. <img border="0"

                                                                                                                     src="https://pub.idqqimg.com/wpa/images/group.png" alt="QQ群60902509" title="QQ群60902509">

| QQ群 | 微信群 | |--|--| | QQ Group | WeChat |

玩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.