Skip to content

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

License

Notifications You must be signed in to change notification settings

arkivanov/decompose-dagger-sample

Repository files navigation

Decompose Dagger Sample

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).

Project Structure

The project consists of the following modules:

  • repository - Contains a simple in-memory Repository, shared in feature modules.
  • utils - Contains some utils like AppScope annotation, etc.
  • 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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages