wisnukurniawan / Composable-Module

Composable modular android app https://medium.com/@wisnukurniawan/building-composable-modular-android-application-c35601092afb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Composable modular android app project

Dependencies diagram

Demo

https://youtu.be/bq7rSJuaz7U

Use case order ticket application that has multiple feature

  1. Feature order flight
  2. Feature order hotel
  3. Feature order train
  4. Feature transaction history
  5. Feature setting

Implementation step by step

  1. Implement abstraction between app module and feature module using launcher module. This is to make our app module not tightly coupled to feature module.
  2. Implement dynamic code loading using code generator x reflection. This is the main part how to make our module can be composable.
  3. How to integrate new feature. Use case, adding order bus feature.

Preview before after adding order bus feature

Reference

Scaling an Android App from 1 to 100 developers with modularization at Airbnb. https://youtube.com/watch?v=jrnhIgFzgns&t=466s

About

Composable modular android app https://medium.com/@wisnukurniawan/building-composable-modular-android-application-c35601092afb


Languages

Language:Kotlin 99.1%Language:Java 0.9%