--

I'm using Essenty lifecycles which are platform independent so not tied to Android. Not sure I understand the problems with fragments, a lifecycle never holds a reference to a fragment. A fragment ia a ViewModelStoreOwner holding a ViewModelStore which references the ViewModel which references the lifecycle that is tied to the ViewModel's own "lifecycle".

--

--

Responses (1)