You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android has scoped ViewModels with navGraphViewModels as shown in here. Since we don't have navGraphViewModels in voyager, we can't use scoped states with ViewModels. (Although it may be possible using AndroidScreenLifecycleOwner. But I couldn't figure out how)
Same should apply to ScreenModel too.
The text was updated successfully, but these errors were encountered:
Android has scoped ViewModels with
navGraphViewModels
as shown in here. Since we don't havenavGraphViewModels
in voyager, we can't use scoped states with ViewModels. (Although it may be possible usingAndroidScreenLifecycleOwner
. But I couldn't figure out how)Same should apply to ScreenModel too.
The text was updated successfully, but these errors were encountered: