mobius
MvRx
Our great sponsors
mobius | MvRx | |
---|---|---|
3 | 7 | |
1,207 | 5,742 | |
0.9% | 1.2% | |
7.0 | 6.1 | |
3 months ago | 12 days ago | |
Java | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mobius
-
Spotify app architecture
But they used https://github.com/spotify/mobius a while ago.
-
I ported the Spotify Mobius GitHub wiki to GitHub Pages + MkDocs with light and dark modes. I just created the issue and filed the PR. Let's see what happens!
👋 I have been using Mobius personally and for work for over two years now. It's a lot of fun to use and I would definitely recommend the community to consider using it. I frequently visit their GitHub repo because they still have their documentation in the GitHub wiki, unlike new repos such as Accompanist. So, I thought what better way to give back than do the grunt work of porting their wiki to GitHub Pages + MkDocs ❤️🔥
-
Why is there nothing like Redux, Vuex, MobX, etc... for Android?
Redux is called MVI in Android world. There are plenty of MVI libs: MVICore, orbit-mvi, mobius and other.
MvRx
-
Android State Managment
you might find airbnb/mavericks familiar, because i think it has similar principles & api surface to felangel/cubit
-
I ported the Spotify Mobius GitHub wiki to GitHub Pages + MkDocs with light and dark modes. I just created the issue and filed the PR. Let's see what happens!
This looks great! Semi-related question... have you evaluated other MVI frameworks like Mavericks / Uniflow / Orbit? What made you decide on Mobius?
-
Is there a way to create composition-scoped view model?
https://airbnb.io/mavericks/#/jetpack-compose?id=creating-a-mavericksviewmodel
-
What is wrong with MVVM?
Everything in MVI is just more code that does nothing (see how most MVI frameworks are basically just a wrapper over state.value = state.copy() like in Orbit or MvRx which you wouldn't even need if you used combiners) and instead adds unnecessary constraints over MVVM that don't help you at all. The "sealed class inputs" are basically a reinvention of calling interface functions except you create classes for it, despite there being no asynchronicity when you have a View -> ViewModel communication.
-
A case against the MVI architecture pattern
Airbnb doesn't use MVI, we use MVVM via https://github.com/airbnb/mavericks
-
Mavericks, Meet Jetpack Compose
Check out the latest dagger sample from the repo. Dagger recently added assisted injection into the core library so you can now integrate the two without adding assisted inject!
- Mavericks (previously know as MvRx) now supports Jetpack Compose
What are some alternatives?
orbit-mvi - A simple MVI framework for Kotlin Multiplatform and Android
workflow-kotlin - A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
Etar Calendar - Android open source calendar
compose-samples - Official Jetpack Compose samples.
FeedEx - Flym News Reader is a light Android feed reader (RSS/Atom)
uniflow-kt - Uniflow 🦄 - Simple Unidirectional Data Flow for Android & Kotlin, using Kotlin coroutines and open to functional programming
Twidere-Android
MVICore - MVI framework with events, time-travel, and more
architecture-samples - A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
MobX - Simple, scalable state management.
Material NavigationView for Android 📱 - 📱 Android Library to implement Rich, Beautiful, Stylish 😍 Material Navigation View for your project with Material Design Guidelines. Easy to use.