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
1.3.0-rc01
The documentation of
Fragment.setFragmentResult
extension function offragment-ktx
is wrong about nullability ofresult
.@param result the result to be passed to another fragment or
nullif you want to clear out any pending result.
result
is annotated@NonNull
onFragmentManager
Java API and the Kotlin type ofresult
isBundle
, notBundle?
.How can we "clear out any pending result" then?
Related to this, how should we communicate "cancel" or "no result" with this API? An empty bundle?