Oct 12, 2022
I think some where variable is used as lateinit in your code and it is not initialized. You can check by below code sample to check whether variable is initialized or not as below:
lateinit var compose: String
if (this::compose.isInitialized) {
println(this.compose)
}