I am working slowly through the the GeoQuiz program and have hit a road bump. Using the provider class.
it first ask to use the gradle implementation 'androidx.lifecycle:lifecycle=extensions:2.0.0 but I am running on 2.2.0. after syncing added the codes:
private val quizViewModel: QuizViewModel by lazy{
ViewModelProviders.of(this).get(QuizViewModel::class.java)
}
ViewModelProviders is coming up as an error and is invalid. Looking to see how to fix this error.