UninitializedPropertyAccessException:
I'm working on Android development using Kotlin, and encountering an issue with a lateinit var named polyline. The error I'm getting suggests that even though I assigned a value to polyline inside a function called from the onCreate, the app is still crashing with the message that polyline has not been initialized.
Pls how do I go about this?
Is there something I'm missing?
See the code below. I removed all unneccessary codes for this question
class CustomerMapActivity : AppCompatActivity(),...