I'm getting an error that in the lazy `resources` ...
# announcements
e
I'm getting an error that in the lazy
resources
that says "Variable 'context' must be initialized". Anyone know what's going on here?
Copy code
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
  }
}