Closed sinkec closed 10 months ago
URL of codelab
In which task and step of the codelab can this issue be found?
5
Describe the problem
i get error in onCreateView
val mainViewModel = MainActivityViewModel by activityViewModels()
does not have a companion object, and thus must be initialized here
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.
URL of codelab
In which task and step of the codelab can this issue be found?
5
Describe the problem
i get error in onCreateView
val mainViewModel = MainActivityViewModel by activityViewModels()
does not have a companion object, and thus must be initialized here
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.