plaid
plaid copied to clipboard
[Bug] ViewModels touch resource like string resource
I hope it has cared.
According to Arch-Component the ViewModels would be stored and retained within the scope of some LifecycleOwner
s like Activity
or Fragment
. That means anytime the Owner
is killed and re-built the view-model
will be reused, the same instance of view-model
. For example, local(country or language) of the device has been changed, the Activity
might be destroyed and recreated, the view-model
will be still the one like before-destroy.
https://issuetracker.google.com/u/1/issues/111961971 The same issue has been as PR fixed and logged at Sunflower project