https://kotlinlang.org logo
#dagger
Title
j

juancho

06/12/2017, 10:48 PM
I found what was the problem. This
@field
works perfect! My problem was that I was providing the dependency from kotlin, but inside this method there was an invocation of another java class that returns a
List<x>
object, so I make my provider to return the
List<x>
but it was not working, when I remove the return type the IDE suggest me the solution: