# zhpanvip/BannerViewPager

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

Repository: https://github.com/zhpanvip/BannerViewPager
Canonical: https://ross.abutalabs.com/products/bannerviewpager
Language: Java
License: Apache-2.0
License Family: permissive
Topics: viewpager, banner, indicator, viewpager2
Last push: 2026-03-19T03:39:05+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 73, release rhythm 44, longevity 100
- inputs: {"age_days": 3445, "days_push": 167, "days_rel": 375, "gap_med": 9.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3778, forks 466 (observed 2026-08-28T04:08:18.323419+00:00)

## What it is
An Android banner/carousel library built on ViewPager2 that supports looping, multi-page layouts, and customizable indicators. It lets developers implement app home-page banners with a single line of code.

## Use cases
- add a looping image carousel banner to an Android app
- implement a home page banner like Bilibili or Taobao
- show multiple pages per screen with a ViewPager2 carousel
- customize page indicator styles for an Android banner
- build a banner with multiple view types and data binding

## When to choose
- you need a polished, feature-rich banner carousel on Android with minimal code
- you want built-in looping, multi-page styles, and indicator customization
- your project already uses ViewPager2 and Java or Kotlin

## When to avoid
- you need a cross-platform carousel for iOS or Flutter
- you only need simple horizontal scrolling without banner features
- your project targets platforms other than Android

## Facets
- artifact type: library
- maturity: active
- function: ui-components, animation
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: viewpager2, banner-carousel, indicator, android-ui, android, mobile

## Member repositories
- zhpanvip/BannerViewPager (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.323419+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:27:48.244291+00:00, confidence not recorded.
  - readme: https://github.com/zhpanvip/BannerViewPager (fetched 2026-08-28T04:08:18.323419+00:00, sha b82defdc8db4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
