Composable-Module
Composable-Module copied to clipboard
Composable modular android app https://medium.com/@wisnukurniawan/building-composable-modular-android-application-c35601092afb
Composable modular android app project
Dependencies diagram
Demo
https://youtu.be/bq7rSJuaz7U
Use case order ticket application that has multiple feature
- Feature order flight
- Feature order hotel
- Feature order train
- Feature transaction history
- Feature setting
Implementation step by step
- Implement abstraction between app module and feature module using launcher module. This is to make our app module not tightly coupled to feature module.
- Implement dynamic code loading using code generator x reflection. This is the main part how to make our module can be composable.
- 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