15 Star 205 Fork 55

zhangpan / BannerViewPager

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
git
Loading...
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

1.Quick Starts

2.API

3.Multiple View Types

4.Use ViewBinding And DataBinding

5.Custom IndicatorView

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

2.Indicator

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. QQ群60902509

QQ群 微信群
QQ Group WeChat

Donate

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

AliPay WeChat
AliPay WeChat

Thanks

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

Repository Comments ( 3 )

Sign in for post a comment

About

🚀 🚀An awesome banner view for Android,Based on ViewPager2. 这可能是全网最好用的ViewPager轮播图。简单、高效,一行代码实现循环轮播,一屏三页任意变,指示器样式任你挑。 expand collapse
Android and 2 more languages
Apache-2.0
Cancel

Releases

No release

BannerViewPager

Contributors

All

Activities

Load More
can not load any more
Android
1
https://git.oschina.net/zhpanvip/BannerViewPager.git
git@git.oschina.net:zhpanvip/BannerViewPager.git
zhpanvip
BannerViewPager
BannerViewPager
master

Search

141041 ab9339c7 1850385 141043 25c028d5 1850385