Back to Browse

Powerful Android Apps CLEAN Refactor

10.4K views
Jul 26, 2021
38:44

The best android courses on the planet: https://codingwithmitch.com/ I did a major refactor to the "Powerful Android Apps with Jetpack Architecture" course. Here's a high level of what I did: 1. Migrate from Dagger to Hilt. 2. Update Navigation Component. 3. Avoid sharing viewmodels. It makes unit testing easier when I can test fragments in isolation. 4. Splitting business models into Entities and Dto's. This way I have a clear business model, network model, and caching model. 5. Writing use cases. 6. Unidirectional data flow with MVI and kotlin sealed classes. (See Interactors) 7. Refactor message handling system to a Queue. 8. Migrate from Shared Preferences to DataStore. 9. Migrate from Kotlin synthetics to ViewBinding. 10. Write Unit tests for use-cases. Social: https://twitter.com/mitch_tabian https://www.instagram.com/codingwithmitch . .

Download

1 formats

Video Formats

360pmp493.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Powerful Android Apps CLEAN Refactor | NatokHD