# goldze/MVVMHabit

👕基于谷歌最新AAC架构，MVVM设计模式的一套快速开发库，整合Okhttp+RxJava+Retrofit+Glide等主流模块，满足日常开发需求。使用该框架可以快速开发一个高质量、易维护的Android应用。

Repository: https://github.com/goldze/MVVMHabit
Canonical: https://ross.abutalabs.com/products/mvvmhabit
Language: Java
License: Apache-2.0
License Family: permissive
Topics: mvvm, databinding, retrofit, retrofit2, rxjava, okhttp, glide, mvvm-library, rxjava2, aac, lifecycle
Last push: 2022-08-11T09:18:55+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": 3330, "days_push": 1483, "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 7705, forks 1690 (observed 2026-08-28T04:10:02.514216+00:00)

## What it is
MVVMHabit is an Android rapid-development framework built on Google's AAC architecture (DataBinding, LiveData, ViewModel) following the MVVM design pattern. It integrates popular libraries like Okhttp, RxJava, Retrofit, and Glide, along with base classes and global utilities, to help developers quickly build high-quality, maintainable Android apps.

## Use cases
- build an Android app with MVVM architecture
- scaffold a new Android project with Retrofit and RxJava networking
- eliminate findViewById and setText boilerplate with DataBinding
- manage Activity lifecycle and global app state in one place
- handle network requests, permissions, and image loading out of the box
- learn MVVM with Google's AAC components in practice

## When to choose
- starting a new Android app that should follow MVVM with AAC
- you want networking (Retrofit/Okhttp), image loading (Glide), and RxJava pre-integrated
- you prefer DataBinding-driven UI with BindingAdapters
- you need base classes for Activity/Fragment/ViewModel to reduce boilerplate

## When to avoid
- you use Jetpack Compose instead of XML DataBinding
- you prefer Kotlin-first stacks like Kotlin coroutines and Ktor
- you need a framework with frequent recent updates (last release 2022)
- your project already has an established architecture

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, http-client, state-management, middleware
- domain: mobile-development, android-tools, web-development
- platform: jvm
- tags: mvvm, databinding, retrofit, rxjava, okhttp, glide, aac, android-architecture, boilerplate, rapid-development, android, mobile

## Member repositories
- goldze/MVVMHabit (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:02.514216+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:35:27.024505+00:00, confidence not recorded.
  - readme: https://github.com/goldze/MVVMHabit (fetched 2026-08-28T04:10:02.514216+00:00, sha 10119ce78dd6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
