Skip to content

Commit

Permalink
Update DAGGER.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Leland-Takamine committed Aug 15, 2018
1 parent 2f32db6 commit 1cfbf47
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions DAGGER.md
Expand Up @@ -41,14 +41,6 @@ If there is a bidirectional dependency between the Dagger Component and the Moti
interface Component {

DaggerDependency();

@dagger.Component.Builder
interface Builder {

myScope(MyScope myScope);

// ...
}
}

@motif.Scope
Expand All @@ -72,4 +64,4 @@ interface MyScope {
}
```

Above, `@Spread` tells Motif to provide all of the dependencies declared by the Component's provision methods in addition to the Component itself. With this pattern, it's possible to pass the Motif Scope into the Dagger Component as a dependency, while allowing Motif factory methods to rely on Dagger-provided objects.
Above, `@Spread` tells Motif to provide all of the dependencies declared by the Component's provision methods in addition to the Component itself. With this pattern, it's possible to pass the Motif Scope into the Dagger Component as a dependency, while allowing Motif factory methods to rely on Dagger-provided objects.

0 comments on commit 1cfbf47

Please sign in to comment.