# 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

Repository: https://github.com/hackware1993/MagicIndicator
Canonical: https://ross.abutalabs.com/products/magicindicator
Language: Java
License Family: other
Topics: viewpager, indicator, tablayout, viewpagerindicator, pagerslidingtabstrip
Last push: 2024-12-07T07:46:58+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": 3720, "days_push": 634, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9792, forks 1549 (observed 2026-08-28T04:10:37.155053+00:00)

## What it is
MagicIndicator is a powerful, customizable and extensible ViewPager indicator library for Android, serving as an alternative to ViewPagerIndicator, TabLayout and PagerSlidingTabStrip. It supports badges and works in non-ViewPager scenarios such as Fragment hide/show or View visibility switching.

## Use cases
- add a tab indicator to a ViewPager in an Android app
- replace TabLayout with a more customizable pager indicator
- show tab titles with badges on Android
- sync indicator with Fragment hide/show switching
- build scrollable tab navigation for Android
- create custom pager title views with transitions

## When to choose
- you need a highly customizable ViewPager indicator on Android
- TabLayout or PagerSlidingTabStrip doesn't fit your design requirements
- you need indicators outside of ViewPager, e.g. with Fragment hide/show

## When to avoid
- you're building for iOS or non-Android platforms
- you need a maintained library with an explicit license
- you use Jetpack Compose rather than View-based UIs

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, mobile-framework
- domain: mobile-development, frontend, android-tools
- platform: jvm
- tags: viewpager, tab-indicator, pager-title-strip, androidx, customizable-views, android

## Member repositories
- hackware1993/MagicIndicator (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:37.155053+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-29T17:21:01.201916+00:00, confidence not recorded.
  - readme: https://github.com/hackware1993/MagicIndicator (fetched 2026-08-28T04:10:37.155053+00:00, sha 3679f573d863)
- Data as of 2026-08-30T08:39:29.467469+00:00.
