Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
Yigit, do you have time to fix it?
reemission of the same liveData is racy
reemission of the same liveData is racy
ap...@google.com <ap...@google.com> #3
yea i'll take it.
jb...@google.com <jb...@google.com> #4
Thanks for the detailed analysis. This may not be an issue anymore since we've started using Main.immediate there but I' not sure; I'll try to create a test case.
Description
Component used: Navigation Version used: 2.3.2 Devices/Android versions reproduced on: N/A
The current implementation of the nav graph inflater uses Resources::obtainAttributes, which doesn't deeply resolve theme attributes, meaning the following won't work:
Obviously this functionality would have a lot of use when it comes to "theming" an app's motion (and defining different "categories" of motion for an app) as well as being able to change animations more easily from one place in much the same was as changing colors or other theme attribute values.
Is there a reason the NavInflater hasn't been set up to resolve these attributes?