MvRx
architecture-samples
Our great sponsors
MvRx | architecture-samples | |
---|---|---|
7 | 27 | |
5,523 | 43,154 | |
1.6% | 0.5% | |
0.0 | 7.4 | |
9 days ago | 7 days ago | |
Kotlin | 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.
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?
-
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
architecture-samples
- I need a repo with a modern and advanced architecture for an Android project. Can you help me?
-
Example code for seprate business logic from UI layer in flutter.
Here's an example project on GitHub that demonstrates how to use a ViewModel in practice: https://github.com/android/architecture-samples/tree/master/BasicSample
-
I have been unable to find some good and upto date android projects on using api, retrofit and mvvm architecture on youtube. Was hoping you guys can suggest some good playlists to learn these and other important topics.
For me this one is the best: Architecture samples it's easy to understand and covers lots of concepts.
- Is there a list of composables and functions anywhere?
-
3 Reasons Why I'm not Migrating LiveData to StateFlow
For merging multiple data-sources, like network and database, I can use Repository backed with NetworkDataSources and DbDataSources. For data manipulation, Kotlin's collection has many useful functions (map, reduce, groupBy, count, etc.). If I want to ensure a data can only be emitted once, a simple modification to LiveData is enough (SingleLiveData
- Legacy app ported to Kotlin. Project comparison.
- How can I understand MVVM
-
Android State Managment
There are multiple ways to communicate UI state changes from your view model to the view like using LiveData and SingleLiveEvent (a specialized LiveData which can only be consumed once).
- Is code supposted to be all in main activity?
-
Is there any dominant architectural pattern in Flutter?
In Android we have a set of API which is part of the framework itself that helps us write code in MVVM-ish style. They have opinionated sample codes that works around these API as well: https://github.com/android/architecture-samples
What are some alternatives?
orbit-mvi - A simple MVI framework for Kotlin Multiplatform and Android
Etar Calendar - Android open source calendar
FeedEx - Flym News Reader is a light Android feed reader (RSS/Atom)
Twidere-Android
netmonster-core - Android Telephony SDK bridge with some additional features
Hide-My-Applist - An Xposed module to intercept applist detections
Material NavigationView for Android 📱 - 📱 Android Library to implement Rich, Beautiful, Stylish 😍 Material Navigation View for your project with Material Design Guidelines. Easy to use.
wechat - A High Copy WeChat ,SNS APP (高仿微信)
Android-Jigsaw-Puzzle - Android app that allows you to draw anything and turn it into a jigsaw puzzle.
Gcam-Services-Provider - App faking only the absolute necessary Apis to use Gcam without Play Services
Hishoot2i - Hishoot2i
Telecine