Kennyc1012/MultiStateView
Android View that displays different content based on its state observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4152
- days_rel: n/a
- days_push: 2027
- n_releases_24m: 0
Adoption not part of the score
1216 stars · 178 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android UI library providing a custom View that switches between content, loading, empty, and error states. Views for each state are declared in XML and switched programmatically via a simple ViewState property.
Use cases
- show a loading spinner while fetching data in an Android app
- display an empty state screen when a list has no items
- show an error view with retry when a network request fails
- switch between loading, content, empty, and error screens in one layout
- add animated transitions between view states in Android
When to choose
- you build native Android UIs and want a simple XML-declarative multi-state container
- you want a lightweight, Kotlin-friendly view without pulling in a large UI framework
When to avoid
- you develop for iOS, web, or cross-platform frameworks
- you need Jetpack Compose state handling rather than XML views
- you need actively maintained software with a defined license
Facets
library · maturity maintenance
ui-components state-management mobile-development android-tools frontend jvm android-view loading-state empty-state error-state xml-layouts android mobile
1 source
- readme: https://github.com/Kennyc1012/MultiStateView · fetched 2026-08-28 · 4e694d55c0df
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Kennyc1012/MultiStateView | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="Kennyc1012/MultiStateView")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem