dzaitsev
01/13/2017, 12:26 PM@Provides
methods static. In Kotlin, if I declare @Provides
method in companion object, I have two generated factories instead of one:
AppModule_Companion_ProvideMainPresenterFactory
and
AppModule_ProvideMainPresenterFactory
How it can be avoided?