RepositoryJavaCNChina
ZH

zhpanvip/BannerViewPager

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

3.8kstars
466forks
15issues
2views

BannerViewPager

License MinSdk JitPack Android Arsenal Android Arsenal Stars

公众号:玩转安卓Dev

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_PAGEMULTI_PAGE_SCALEMULTI_PAGE_OVERLAP
MULTI_PAGEMULTI_PAGEMULTI_PAGE

More Page Styles

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

Style 1Style 2Style 3
MULTI_PAGE1MULTI_PAGE2MULTI_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

AttrsCIRCLEDASHROUND_RECT
NORMALCIRCLE_NORMALDASH_NORMALROUND_RECT_NORMAL
SMOOTHCIRCLE_SMOOTHDASH_SMOOTHROUND_RECT_SMOOTH
WORMCIRCLE_WORMDASH_WORMROUND_WORM
COLORCIRCLE_COLORDASH_COLORROUND_COLOR
SCALECIRCLE_SCALEDASH_SCALEROUND_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 IndicatorDrawable IndicatorIndicator below of Banner
CIRCLEDASHNORMAL

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 GroupWeChat

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.

Similar Projects

Discover other similar projects and AI models.

RepositoryJava
youth5201314/banner

🔥🔥🔥Banner 2.0 来了!Android广告图片轮播控件,内部基于ViewPager2实现,Indicator和UI都可以自定义。

13.0k
Jan 11, 2024
RepositoryJava
hackware1993/MagicIndicator

A powerful, customizable and extensible ViewPager indicator framework. As the best alternative of ViewPagerIndicator, TabLayout and PagerSlidingTabStrip —— 强大、可定制、易扩展的 ViewPager 指示器框架。是ViewPagerIndicator、TabLayout、PagerSlidingTabStrip的最佳替代品。支持角标,更支持在非ViewPager场景下使用(使用hide()、show()切换Fragment或使用setVisibility切换FrameLayout里的View等),http://www.jianshu.com/p/f3022211821c

9.8k
Dec 7, 2024
RepositoryJava
shuhart/BubblePagerIndicator

A view pager indicator view to deal with a large amount of pages.

136
Feb 21, 2021
RepositoryJava
kongpf8848/ViewWorld

自定义View合集,展示各种自定义View/控件。项目包含了自定义Banner轮播图控件,自定义验证码输入框,自定义TabLayout等控件,持续更新中🤣😄😋

125
Jan 10, 2026
RepositoryKotlin
tommybuonomo/dotsindicator

Dots indicators for Android ViewPager and Compose

3.6k
Oct 11, 2026
RepositoryKotlin
angcyo/DslTabLayout

:hearts: Android界最万能的TabLayout(不仅仅是TabLayout), 支持任意类型的item, 支持Drawable类型的指示器,智能开启滚动,支持横竖向布局等

1.8k
Mar 18, 2026
RepositoryKotlin
ltttttttttttt/ComposeViews

Compose Multiplatform views, in to Android, Web, Desktop, iOS: Pager, Banner, Indicator, Refresh Layout, Flow Layout, Menu Floating Action Button, Pull To Refresh, Chain Scrollable Component, Scrollable App Bar(Nested Scroll View),Date Selector(Time Selector Date Picker), Swipe To Dismiss, Image viewer, ZoomLayout, Star Bar and more

566
Jun 19, 2026
RepositoryJava
HarlonWang/AVLoadingIndicatorView

DEPRECATED

9.7k
Apr 6, 2023
RepositoryJava
florent37/MaterialViewPager

A Material Design ViewPager easy to use library

8.1k
Oct 12, 2018