if i want to keep user location in a v iewmodel , should irequest it in a fragment or from the viewmodel ? code example
Example: how to use by viewModels()
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
kotlinOptions {
jvmTarget = "1.8"
}