https://kotlinlang.org logo
#android
Title
# android
g

Gautam Lad

05/23/2019, 2:08 PM
the reason i didnt try it is because the docs said:
Copy code
// alternatively - Lifecycles only (no ViewModel or LiveData). Some UI
    //     AndroidX libraries use this lightweight import for Lifecycle
    implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
m

Manuel Vivo

05/23/2019, 4:38 PM
The docs will get updated soon 🙂 thank you
m

muthuraj

05/25/2019, 7:42 AM
@Manuel Vivo I got bit by this too. I couldn't find the version of lifecycleScope, so googled "ViewModel lifecycleScope", found your medium article and from there found the version.
👍 1