timrijckaert / conductor-dagger

Extension to use conductor with the new dagger.android module.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conductor Dagger

Some helper classes that will allow you to inject your Conductor Controllers with Dagger.
This is a fork of https://github.com/Bodo1981/conductor-dagger.

I wanted to experimented with it some more.

Goal

I added a fake dependency on each level of the app.
Scopes in the app include

Application -> Activity -> Controller

And the related dependencies:

ApplicationDep, ActivityDep and ControllerDep

In this sample I want to showcase these possibilities:

  • The Controller should have access to the ApplicationDep, ActivityDep and the ControllerDep
  • The Activity should be able to inject the ApplicationDep and the ActivityDep
  • The Application should solely be able to inject the ApplicationDep

About

Extension to use conductor with the new dagger.android module.

License:Apache License 2.0


Languages

Language:Java 82.2%Language:Kotlin 17.8%