Mark
10/19/2024, 8:48 AMNo definition found for type 'androidx.lifecycle.T'. Check your Modules configuration and add missing type and/or qualifier!
This corresponds to the SavedStateHandle
class.
I couldn’t reproduce this locally, and I get the impression this is a randomly occurring issue. I haven’t changed anything regarding this since my last app update which did not show this error in the reports.
I noticed people talked about moving the savedStateHandle to being the first arg. Is that still relevant (I’m using Koin 4.0.0)? Is there anything else I should be looking out for?
Note: this happened in my top-level screen composable. Which injects the viewmodel using koinActivityViewModel()