We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! Sometimes, I need to wait for the result from some screen with an assigned "action_id." For example:
navigator.navigate(BDestination(params = BParams(action_id = "123")))
bResultRecipient.onNavResult { result -> ... }
bResultRecipient
NavResult.Canceled
action_id
The only possible way to do it for now is to execute this code once on screen start: navigator.setResult(BResult.Canceled(action_id))
navigator.setResult(BResult.Canceled(action_id))
In this case, when the swipe closes the screen, I won't receive a NavResult.Canceled event.
Generally, it looks good, but maybe there are some points that need improvement.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello! Sometimes, I need to wait for the result from some screen with an assigned "action_id." For example:
navigator.navigate(BDestination(params = BParams(action_id = "123")))
.bResultRecipient.onNavResult { result -> ... }
bResultRecipient
will receive theNavResult.Canceled
event, but I can't determine whichaction_id
it wasThe only possible way to do it for now is to execute this code once on screen start:
navigator.setResult(BResult.Canceled(action_id))
In this case, when the swipe closes the screen, I won't receive a NavResult.Canceled event.
Generally, it looks good, but maybe there are some points that need improvement.
The text was updated successfully, but these errors were encountered: