Separate The Call Into Another Thread | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/8458165-kotlin-coroutines-fundamentals/lessons/4

It looks like the definition for image is missing from the sample code. I’ve added the following to MainActivity.kt:

    val image = findViewById<ImageView>(R.id.image)