OSS TanbouSign in with GitHub

organize Android screen updates around immutable State and ViewModel-driven unidirectional flow

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
5,926
Primary language
Kotlin
License
Apache-2.0
Repository last updated
Sep 25, 2026
On this page

Overview

Mavericks is an Android MVI framework from Airbnb. Screen data lives in MavericksState, MavericksViewModel updates it through setState, and Fragment or Compose UI observes the resulting state.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Update screen state through immutable State and ViewModel

Screen data is collected in a MavericksState data class, and MavericksViewModel creates new states through setState and copy, centralizing state transitions in the ViewModel layer.

Sources: [2][3]

Observe the same state from Fragments or Compose

Fragments can implement MavericksView and use withState, while Compose can obtain a ViewModel through mavericksViewModel() and observe fields with collectAsState().

Sources: [2][5]

Best fit

Fits Android screens with growing state and asynchronous behavior

Applications can use one convention for the source of truth and state updates when screens combine multiple values, API results, and user events. Mavericks builds on Android Jetpack and Kotlin Coroutines.

Sources: [3]

Before adoption

Initialize the framework and define boundaries with existing architecture

Setup includes the Mavericks dependency, connecting a LifecycleOwner or view layer, and calling Mavericks.initialize(this) from the Application. Define migration boundaries when existing ViewModel, navigation, or dependency-injection responsibilities overlap.

Sources: [4][6]

Official sources

  1. [1]airbnb/mavericks — GitHub repository(2026-10-06)
  2. [2]Mavericks 3.1.1 — README(2026-10-06)
  3. [3]Mavericks 3.1.1 — Documentation overview(2026-10-06)
  4. [4]Mavericks 3.1.1 — Setup(2026-10-06)
  5. [5]Mavericks 3.1.1 — Jetpack Compose(2026-10-06)
  6. [6]Mavericks 3.1.1 release(2026-10-06)
  7. [7]Mavericks Apache-2.0 license(2026-10-06)
Supplemental curator note

Mavericks centralizes screen data in immutable State so complex update paths are easier to trace. Review boundaries with existing ViewModels, navigation, and dependency injection, and start with state-heavy screens when evaluating adoption.

Try it in 3 steps

  1. 1

    Add Mavericks 3.1.1

    Add the reviewed stable release to the Android application dependencies.

    implementation("com.airbnb.android:mavericks:3.1.1")
  2. 2

    Connect the view lifecycle with MavericksView

    Follow the second setup step and implement MavericksView on the existing base Fragment.

    abstract class BaseFragment : Fragment(), MavericksView
  3. 3

    Initialize Mavericks from the Application

    Initialize Mavericks once from Application.onCreate before using MavericksViewModel and state subscriptions.

    override fun onCreate() { super.onCreate() Mavericks.initialize(this) }
Check the official README

Growth

Growth trends · Last 30 days

5,926 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
2
Open PRs
4

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data
Stars
5,926
Forks
510
Watchers
100
Open issues
57
Contributors
64
Owner type
Organization
Primary language
Kotlin
License
Apache-2.0
Repository last updated
Sep 25, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?