eygraber
06/29/2017, 7:36 PMresources
that says "Variable 'context' must be initialized". Anyone know what's going on here?
class Test {
private val context: Context
private constructor(context: Context) {
this.context = context
}
constructor(context: Context, test: Int) : this(context)
// this is just a contrived example
private val resources by lazy {
context.resources
}
}