Fixed
Status Update
Comments
il...@google.com <il...@google.com>
sa...@google.com <sa...@google.com>
ap...@google.com <ap...@google.com> #2
Thank you for your feedback. Team may reach out for more feedback in reproducing or triaging this issue.
il...@google.com <il...@google.com> #3
Could you try AGP 3.3.0-rc01 or 3.4.0-alpha06 and see if it fixes the issue?
If not, could you provide a sample project (as the error message above is not enough for us to debug the issue)?
If not, could you provide a sample project (as the error message above is not enough for us to debug the issue)?
Description
Component used: lifecycle-livedata-ktx
Version used: 2.3.0-alpha03
StateFlow
SharedFlow
LiveData
created by theasLiveData
extension methods onFlow
in FlowLiveData.kt. It would be nice if the initial value was available asvalue
on the createdLiveData
to help reduce unnecessary UI updates that happen when the values arrive on theFlow
after the lifecycle method responsible for creating the initial view has already finished.Here is a failing test for
StateFlow
that should work, IMHO: