Last active
April 7, 2019 14:10
-
-
Save tfcporciuncula/cd37360fcffb037ff51b0e7e00ab11be to your computer and use it in GitHub Desktop.
BookInjection.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Subcomponent(modules = [BookModule::class]) | |
interface BookComponent { | |
// let's assume BookPresenter has an @Inject-annotated constructor | |
val presenter: BookPresenter | |
} | |
@Module | |
class BookModule(@get:Provides val bookView: BookView) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment