leandro
03/29/2023, 1:09 PM@Inject class Outer(val context: Context) {
@Inject inner class Inner {
fun useOuterContext() = context.getString(...)
}
}
This fails to compile Outer.Inner
with the message: "Constructor of inner class Inner can be called only with receiver of containing class"evant
03/29/2023, 4:56 PMleandro
03/29/2023, 5:50 PM