This is a sample Android project demonstrating the use of Decompose library together with Dagger DI framework, Anvil by Zac Sweers and anvil-utils (a tiny Anvil plugin for reducing Dagger boilerplate code even further).
The project consists of the following modules:
repository- Contains a simple in-memoryRepository, shared in feature modules.utils- Contains some utils likeAppScopeannotation, etc.feature-list- ContainsListComponentthat shows a list of text items. Clicking on an item opensDetailsComponent.feature-details- ContainsDetailsComponentthat shows the previously selected item.feature-root- ContainsRootComponentthat navigates betweenListComponentandDetailsComponent, plus some unit tests forDefaultRootComponent.app-android- ContainsMainActivitythat showsRootComponent.