/decompose-dagger-sample

A sample Android project demonstrating the use of Decompose library together with Dagger DI framework

Primary LanguageKotlinMIT LicenseMIT

Decompose Dagger Sample

This is a sample Android project demonstrating the use of Decompose library together with Dagger DI framework.

Project Structure

The project consists of the following modules:

  • repository - Contains a simple in-memory Repository, shared in feature modules.
  • feature-list - Contains ListComponent that shows a list of text items. Clicking on an item opens DetailsComponent.
  • feature-details - Contains DetailsComponent that shows the previously selected item.
  • feature-root - Contains RootComponent that navigates between ListComponent and DetailsComponent, plus some unit tests for DefaultRootComponent.
  • app-android - Contains MainActivity that shows RootComponent.