Dagger conductor

Dagger extension for Cundoctor.

License

License

Categories

Categories

Dagger Application Layer Libs Dependency Injection
GroupId

GroupId

com.anbillon.dagger
ArtifactId

ArtifactId

dagger-conductor
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

Dagger conductor
Dagger extension for Cundoctor.
Project URL

Project URL

https://github.com/Tourbillon/dagger-conductor.git
Source Code Management

Source Code Management

https://github.com/Tourbillon/dagger-conductor.git

Download dagger-conductor

How to add to project

<!-- https://jarcasting.com/artifacts/com.anbillon.dagger/dagger-conductor/ -->
<dependency>
    <groupId>com.anbillon.dagger</groupId>
    <artifactId>dagger-conductor</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.anbillon.dagger/dagger-conductor/
implementation 'com.anbillon.dagger:dagger-conductor:1.0.0'
// https://jarcasting.com/artifacts/com.anbillon.dagger/dagger-conductor/
implementation ("com.anbillon.dagger:dagger-conductor:1.0.0")
'com.anbillon.dagger:dagger-conductor:aar:1.0.0'
<dependency org="com.anbillon.dagger" name="dagger-conductor" rev="1.0.0">
  <artifact name="dagger-conductor" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.anbillon.dagger', module='dagger-conductor', version='1.0.0')
)
libraryDependencies += "com.anbillon.dagger" % "dagger-conductor" % "1.0.0"
[com.anbillon.dagger/dagger-conductor "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Dagger Conductor

An extension of dagger2 for Conductor

Usage

  • See dagger2 document
  • Replace HasActivityInjector with HasControllerInjector in Application or Activity
  • Replace @ActivityKey with @ControllerKey
  • Replace AndroidInjectionModule with ConductorInjectionModule in YourAppComponent
  • Replace AndroidInjection.inject(this) with ConductorInjection.inject(this) in Controller

Gradle

compile 'com.anbillon.dagger:dagger-conductor:1.0.0'

License

Copyright (C) 2017 Tourbillon Group ([email protected])

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
1.0.0