Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modularizing and Refactoring Android App with C...

Modularizing and Refactoring Android App with Clean Architecture

kobito-kaba

July 03, 2019
Tweet

More Decks by kobito-kaba

Other Decks in Programming

Transcript

  1. Why CleanArch.? • Reduce & prevent spaghetti codes • Increase

    readable and testable codes • Clear scope of influence
  2. How does design CleanArch? • Separation of stable & flexible

    codes. • Make Flexible code dependent only on more stable code • Make the direction of dependence one direction
  3. Domain Layer • Entity: Express business data • Usecase: Express

    business logic, gateway for presentaion • Repository: Interface between domain and data layer
  4. Let’s see Sample Product • Sample Product: Click button ->

    change TextView as several Lang https://github.com/kiuchikeisuke/Android-Studio-CleanArchitecture-template-forKotlin/tree/demo_for_droidcon