zhpanvip/BannerViewPager
zhpanvip/BannerViewPager has 3,774 GitHub stars and 466 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and -3 in 15 days. Last checked 2026-11-23 12:01 UTC. Last push 2026-03-19.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -3
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
Acerca de
🚀 Un componente de banners para Android basado en ViewPager2. Puede que sea el carrusel de ViewPager más fácil de usar: es sencillo y eficiente, permite activar el desplazamiento en bucle con una sola línea de código, ajustar cuántas páginas se muestran a la vez y elegir el estilo de los indicadores.
AprendizajeREADME.md
OriginalBannerViewPager

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

1.PageStyle
| MULTI_PAGE | MULTI_PAGE_SCALE | MULTI_PAGE_OVERLAP |
|---|---|---|
![]() |
![]() |
![]() |
More Page Styles
Many page styles can be implement using the setPageStyle() and setRevealWidth().
| Style 1 | Style 2 | Style 3 |
|---|---|---|
![]() |
![]() |
![]() |
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.
| Attrs | CIRCLE | DASH | ROUND_RECT |
|---|---|---|---|
| NORMAL | ![]() |
![]() |
![]() |
| SMOOTH | ![]() |
![]() |
![]() |
| WORM | ![]() |
![]() |
![]() |
| COLOR | ![]() |
![]() |
![]() |
| 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.
| Figure Indicator | Drawable Indicator | Indicator below of Banner |
|---|---|---|
![]() |
![]() |
![]() |
Contact
If you have any question regard to BannerViewPager, please scan the QR code and join the QQ group to communicate. 
| QQ群 | 入群加微信 |
|---|---|
![]() |
![]() |
Thanks
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.
Explorar proyectos relacionados
Cargando…

























