Handling View State and Events with RainbowCake
summary
RainbowCake claims a concrete Android architecture built on Jetpack and Kotlin that handles a single non-null view state and one‑time events by customizing LiveData rather than just restating MVVM or MVI. It uses coroutines (viewModelScope), an enforced initial state, a non-null viewstate property, a distinct transformation, a LiveData that returns pending values, single‑shot and queued single‑shot live data with an internal live data collection for multiple observers. The framework is unit tested, production‑used, and modular (Dagger/Koin integrations; 1.0 imminent).
AI-written summary · about
chapters (4)
related talks
41mMVI: a Robust and Modern Architecture
33mA View State Machine for Network Calls on Android
42mHands on MvRx: Building Real Apps
30mArchitecting an app with MVP and ViewModels
49mRiding the state flow
38mArchitecture Agnostic UI Development
41mViewModels, LiveData and Lifecycles, oh my!
41mLiveData beyond VIewModels
