Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 00ea7991 authored by Chaohui Wang's avatar Chaohui Wang
Browse files

Add OverridableFlow for Spa

One typical use case is that when a switch state comes from a flow, and
the user toggle the switch to change the value, we can modify the flow
to show the latest state.

Also temporary copy the FlowExt from AndroidX lifecycle, to use the
collectAsStateWithLifecycle(), so we can show the latest data from flow
when each on start lifecycle event.

Bug: 236346018
Test: Unit test
Change-Id: Ib34ae9c5ce0b9122d11032aeed173033df5cc2d1
parent c84d661e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment