# luckybilly/Gloading

Show global loading status view in a low coupling way for Android App(超轻量级，深度解耦Android App中全局加载中、加载失败及空数据视图)

Repository: https://github.com/luckybilly/Gloading
Canonical: https://ross.abutalabs.com/products/gloading
Homepage: https://juejin.im/post/5c9649145188252d665f5229
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2019-08-15T07:03:19+00:00

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

## Adoption (not part of the score)
Stars 1403, forks 168 (observed 2026-08-28T04:04:37.831035+00:00)

## What it is
Gloading is a tiny (~6KB, single Java file) Android library that displays global loading, load-failed, and empty-data status views in a low-coupling way using an Adapter pattern. It wraps activities, fragments, or arbitrary views without requiring layout changes or base-class inheritance.

## Use cases
- show a global loading spinner across all Android app pages
- display load-failed UI with click-to-retry
- show empty data state views
- wrap RecyclerView or GridView with loading status
- decouple loading view UI from page code so it can be reused across apps

## When to choose
- you want consistent loading/empty/error UI app-wide without modifying every layout
- you need to swap loading view styles per app without changing page code
- you want an extremely lightweight, dependency-free solution

## When to avoid
- you need actively maintained library support (last release 2019)
- your project uses Jetpack Compose rather than View-based UI
- you need complex animated loading effects built in

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, mobile-framework
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: loading-state-view, adapter-pattern, low-coupling, android-ui, empty-view, retry-view, android, mobile

## Member repositories
- luckybilly/Gloading (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:37.831035+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-30T04:38:55.699277+00:00, confidence not recorded.
  - readme: https://github.com/luckybilly/Gloading (fetched 2026-08-28T04:04:37.831035+00:00, sha d68217d4fbe3)
  - homepage: https://juejin.im/post/5c9649145188252d665f5229 (fetched 2026-08-29T11:52:53.575554+00:00, sha 0b8ed635e1b2)
  - site_page: https://link.juejin.cn?target=https%3A%2F%2Fluckybilly.github.io%2FGloading%2F (fetched 2026-08-29T11:52:53.578500+00:00, sha 256b759fcdaf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
