Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Since this is happening in Tink, rather than in the AndroidX library, it would be best to open an
No update yet.
Since this is happening in Tink, rather than in the AndroidX library, it would be best to open an
Description
Now that we have
CreationExtras
, we offer a stateless version of severalViewModelProvider.Factory
s. While these stateless versions ensure that the factories are more flexible, if there is code that attempts the use them the same way as the old stateful factories it does not work.For compatibility, instead of breaking in this scenario, we should make CreationExtras the preferred option over the passed in state. That means we can support CreationExtras while still having the old state as a fallback incase none are provided.