I just got this working, would this be the recomme...
# getting-started
w
I just got this working, would this be the recommended way to solve this problem?
Copy code
class MyClass private constructor() {
    
    lateinit var context: Context
    
    constructor(context: Context) : this() {
        this.context = context.applicationContext
    }
}