[DevFest Nantes 2018] Shaping your app’s architecture with Kotlin and Architecture Components
Speaker : Florina Muntenescu Many apps began adopting Kotlin and Android Architecture Components atthe same time. While ostensibly quite different, the interplay of these two changes ends up heavily influencing each other. Plaid is an open source example of material design concepts. It has a complex functionality but had a large amount of technical debt. We took the challenge of refactoring the app, following the Android Guide to App Architecture, while simultaneously converting the app to Kotlin—while keeping the existing functionality, fixing broken API integrations and adding new ones. The Guide to App Architecture provided a good starting point for creating lean, isolated classes. Kotlin features like delegates, high order functions and lambdas, sealed classes and others, end up shaping much of the architecture of the app. This talk covers the architecture lessons learned while converting Plaid to Kotlin and integrating Architecture Components.