kyleg
01/26/2020, 7:13 PM[Dagger/MissingBinding]
fun AddUseCase(x: Int): Reader<ReturnValType> = MyReader { ctx -> /* ... */ }
versus
class AddUseCase(ctx: MyContext) {
fun invoke(x: Int): ReturnValType { /* ... */ }
}
wasyl
01/26/2020, 7:37 PM@JvmSuppressWildcards
at injection site:
val injectedStringToStringFunction: (@JvmSuppressWildcards String) -> String
trevjones
01/30/2020, 3:40 PMfun interface
should help with this usecase quite well.kyleg
01/30/2020, 3:41 PM