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
The current filtering is not preserved in any way across process death, even though that is expected behavior. This was originally also a problem on master.
A possible solution would be to use a SavedStateHandle provided to the ViewModel from an AbstractSavedStateViewModelFactory.
I would expect this approach to be displayed in an example that is meant to "show how to use AAC ViewModel with Dagger", while still creating an app that works reliably even when it's put to background for a given period of time.
The text was updated successfully, but these errors were encountered:
@Zhuinden Is there any way I can force this process death and observe the issue you are mentioning.
Like using an ADB command or some plugin tool on Android Studio?
In
architecture-samples/app/src/main/java/com/example/android/architecture/blueprints/todoapp/tasks/TasksViewModel.kt
Line 64 in 8b028e3
The current filtering is not preserved in any way across process death, even though that is expected behavior. This was originally also a problem on master.
A possible solution would be to use a
SavedStateHandle
provided to theViewModel
from anAbstractSavedStateViewModelFactory
.I would expect this approach to be displayed in an example that is meant to "show how to use AAC ViewModel with Dagger", while still creating an app that works reliably even when it's put to background for a given period of time.
The text was updated successfully, but these errors were encountered: