@damianpetla: this has nothing to do with lateinit, it thanks to Kotlin now supporting annotation targets.
I don’t know the problem with data binding, but if your last snippet works then
@set:Inject lateinit var something: String
should do as well (or without the
lateinit
maybe).