Closed yRerikh closed 1 year ago
There are two ways to achieve this:
onDisappear
on the presented view.dismissCoordinator()
on the Router
object, as the dismissal allows an optional action
parameter.
2 - The coordinator of the router can be accessed which has the available method route(to: ..., onDismiss: ...)
@LePips I suppose, a parameter onDismiss is exactly what I need. Thank you very much.
Hello, @rundfunk47, thank you for this framework. I would like to ask you about some moment while dismissing an item manually. When an item is presented with parameter @Root(.modal), there is a possibility to dismiss it by swiping down without pressing any button. My problem is that I don't know how to detect dismiss event in such case. Could you help me with that?