Karakurik / decompose-hilt-sample

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decompose Dagger-Hilt Sample

This is a sample Android project demonstrating the use of Decompose library together with Dagger-Hilt 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.

About

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

License:MIT License


Languages

Language:Kotlin 100.0%