# hegaojian/JetpackMvvm

:chicken::basketball:JetpackMvvm 是一个基于 Jetpack 架构组件构建的 Android MVVM 快速开发框架，旨在帮助开发者快速搭建高质量、可维护、可扩展的应用。

Repository: https://github.com/hegaojian/JetpackMvvm
Canonical: https://ross.abutalabs.com/products/jetpackmvvm
Homepage: https://github.com/hegaojian/JetpackMvvm
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: mvvm, jetpack, viewmodel, lifecycle, databinding, livedata, kotlin, mvvm-jetpack, android, wanandroid, wanandroiddemo, navigation, flow, kotlin-flow, demo, demo-app, kotlin-coroutines, library, viewbinding
Last push: 2025-12-29T05:30:59+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 59, release rhythm 51, longevity 100
- inputs: {"age_days": 2447, "days_push": 247, "days_rel": 247, "gap_med": 34, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3571, forks 690 (observed 2026-08-28T04:08:10.671304+00:00)

## What it is
JetpackMvvm is an Android MVVM rapid development framework built on Jetpack architecture components (ViewModel, LiveData, Kotlin Flow, Repository). It provides modular base classes like BaseActivity, BaseFragment, and BaseViewModel, plus built-in page state management, view binding support, and a pluggable network layer compatible with Retrofit, RxHttp, and Net.

## Use cases
- quickly scaffold an Android app with MVVM architecture
- set up base activity and fragment classes for Android projects
- handle loading, empty, error, and success page states uniformly
- wrap network requests with LiveData or Kotlin Flow
- reduce boilerplate with ViewBinding and DataBinding in Android
- integrate coroutines-based async networking in an Android app

## When to choose
- you are starting a new Android app in Kotlin and want a ready-made MVVM structure
- you want opinionated base classes and page state handling out of the box
- you prefer LiveData/Flow-based request encapsulation with coroutines
- you want a framework with a detailed example app and Chinese documentation

## When to avoid
- you use Compose-only architecture rather than View/DataBinding-based UIs
- you need a minimal, unopinionated setup without framework-imposed base classes
- your team follows MVI or a custom architecture incompatible with this framework's conventions
- you need cross-platform support beyond Android

## Facets
- artifact type: framework
- maturity: active
- function: state-management, http-client, middleware, developer-tools
- domain: mobile-development, android-tools, web-development
- platform: jvm
- tags: mvvm, jetpack, viewmodel, livedata, kotlin-flow, coroutines, viewbinding, databinding, base-classes, rapid-development, retrofit, android, mobile

## Member repositories
- hegaojian/JetpackMvvm (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:10.671304+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:34:06.678020+00:00, confidence not recorded.
  - readme: https://github.com/hegaojian/JetpackMvvm (fetched 2026-08-28T04:08:10.671304+00:00, sha e44a8c71cea6)
  - homepage: https://github.com/hegaojian/JetpackMvvm (fetched 2026-08-29T09:27:39.107795+00:00, sha 51ea5432706e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
