Shaping Your App's Architecture with Kotlin and Architecture Components
summary
Refactors Plaid from Java to Kotlin while restoring broken API-driven features, modularizing by data / domain / UI layers and splitting each content source into dynamic feature modules so code and resources download on demand. Uses Kotlin coroutines launched in ViewModels with a safeApiCall wrapper, exposes LiveData UI models and single-consume events, models network results with sealed Result classes, replaces callbacks with suspend functions, and implements lightweight use-case classes via invoke; product functionality is mostly fixed.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:42Reflow Text
- 5:25Dynamic Feature Modules
- 7:03Executors
- 7:27Rx Java
- 9:55Data Layer
- 10:43Sealed Classes
- 13:31Local Data Source
- 18:24Use Cases
- 19:33Invoke Operator
- 23:39View Model
- 28:15Fix the Broken Functionality
related talks
35mShaping your app’s architecture with Kotlin and Architecture Components
15mRe-stitching Plaid with Kotlin
41mMaking a Kotlin, Architecture Components, Rx and Coroutines sandwich
42mArchitecture Round Table
26mApp Architecture Then and Now: Lessons from the DroidKaigi Conference App History
22mArchitecting a Kotlin Multiplatform App
43mFunctional approach to Android architecture using Kotlin
39mRefactoring Plaid App – A reactive MVP approach
