# xiaohaibin/XBanner

:fire:【图片轮播】支持图片无限轮播，支持AndroidX、自定义指示点、显示提示文字、切换动画、自定义布局，一屏多显、视频图片混合轮播等功能

Repository: https://github.com/xiaohaibin/XBanner
Canonical: https://ross.abutalabs.com/products/xbanner
Language: Java
License: Apache-2.0
License Family: permissive
Topics: viewpager, banner, transform, android, androidx
Last push: 2024-06-28T14:51:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3641, "days_push": 796, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2217, forks 356 (observed 2026-08-28T04:06:27.243532+00:00)

## What it is
XBanner is an Android banner/carousel view library supporting infinite auto-scrolling image rotation with custom indicators, tip text, transition animations, multi-page display, and mixed video/image layouts. It works with both support and AndroidX projects and integrates with Glide/Fresco for image loading.

## Use cases
- add an auto-scrolling image banner to an Android app
- infinite loop carousel with custom indicator dots
- show promotional banners with title text on Android
- display multiple banner pages on one screen
- mix video and images in a rotating banner
- customize page transition animations for a slider

## When to choose
- you need a feature-rich, ready-made banner/carousel component on Android
- you want infinite auto-play with pause-on-touch behavior
- you need AndroidX support and flexible indicator/title layouts

## When to avoid
- you need a cross-platform (Flutter/React Native) carousel
- you only need a simple ViewPager without banner features
- your project is not Android/Java-based

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, animation, image-processing
- domain: mobile-development, android-tools, frontend
- platform: -
- tags: banner, viewpager, carousel, image-slider, androidx, indicator, auto-play, android, mobile

## Member repositories
- xiaohaibin/XBanner (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:27.243532+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-30T02:45:56.057369+00:00, confidence not recorded.
  - readme: https://github.com/xiaohaibin/XBanner (fetched 2026-08-28T04:06:27.243532+00:00, sha e08f0fa17b57)
- Data as of 2026-08-30T08:39:29.467469+00:00.
