Laurence Muller
08/11/2021, 1:24 PMArkadii Ivanov
08/11/2021, 1:45 PMFrancis Mariano
08/11/2021, 1:51 PMArkadii Ivanov
08/11/2021, 1:54 PMFrancis Mariano
08/11/2021, 2:09 PMLaurence Muller
08/11/2021, 2:26 PMcomponent::onCloseClicked()
directly to signal it's done with the screen, so output(Output.Finished)
is then called which is then popping the router
in the TodoRootComponent via this Consumer(::onEditOutput)
Arkadii Ivanov
08/11/2021, 2:29 PMinternal
, which means they are implementation details of components. It is recommended to not expose Labels
from components. You can map Label
to Output
, or just use normal callbacks in your components. E.g. pass onFinished: () -> Unit
to the component, subscribe to Store.labels
and call the callback manually.Francis Mariano
08/11/2021, 3:33 PM