Jose Alcérreca has posted an article about Flows and LiveData, and at the end he describes the rationale behind repeatOnLifecycle, which is exactly the purpose of what we've done here.
repeatOnLifecycle is part of lifecycle-runtime-ktx 2.4.0-alpha01 (so still alpha for the moment). We could mention that in the readme, but it's your call.
Hi @psteiger,
Jose Alcérreca has posted an article about Flows and LiveData, and at the end he describes the rationale behind
repeatOnLifecycle
, which is exactly the purpose of what we've done here.repeatOnLifecycle
is part oflifecycle-runtime-ktx 2.4.0-alpha01
(so still alpha for the moment). We could mention that in the readme, but it's your call.