Quick and clean prototypes that scale with Helium: a reactive MVP framework in Kotlin
summary
Helium is an open source Kotlin MVP framework that claims a full app in 20 lines by wiring presenters, view delegates and repositories; the demo builds a RecyclerView list (100 items) using RxJava and Android Architecture Components, plus ready-made list presenter and list view delegate components. Presenters push immutable view states and receive view events, presenters can be retained across rotation, and the live prototype shows loading, empty/error views and click-to-toast behavior — the example compiles and runs, keeping scroll position after rotation.
AI-written summary · about
chapters (20)
- 0:00Introduction and motivation
- 3:19Problem with quick prototypes
- 5:53Introducing Helium framework
- 8:24Core concepts: state and events
- 10:10Presenters and view delegates
- 13:24Why separate view delegates
- 16:33Retaining presenter state
- 17:40Ready-made components
- 19:06Live coding demo setup
- 22:39Building the data layer
- 23:00Creating view items
- 25:33Assembling the list
- 28:24Handling user interactions
- 30:08Customizing presenters
- 31:59Running the demo app
- 32:40Simulating network delay
- 33:45Retaining state on rotation
- 35:06Framework availability and demo
- 36:10Future plans and components
- 38:15Q&A session
related talks
30mArchitecting an app with MVP and ViewModels
35mcomponentization architecture with RxJava + Kotlin
42mHands on MvRx: Building Real Apps
35mBuilding better Android apps with MVP
34mMVWTF: Demystifying Architecture Patterns
39mClean app design with Architecture Components
39mMVP: The Life-Changing Magic of Tidying Up Your Android Presentation Layer
46mMvRx: Android Development on Autopilot
