I am trying to implement ViewModel in a 100% Kotlin app. Every piece of documentation I can find says I want to use this to get the ViewModel instance:
ViewM
In my case I was missing :
implementation "androidx.fragment:fragment-ktx:1.1.0"