Allow sending a result back without navigating up
See original GitHub issueResultBackNavigator
currently always navigates back, but it would be nice if there’s a way to send a result to the previous destination without also navigating back.
My use case is that I have a screen where something can be edited that needs to be communicated back to the previous destination, but the navigation itself only needs to happen when the user presses the back button or the back arrow in the toolbar. The result itself is optional in that sense. In the current implementation I can also workaround this by using my own BackHandler
but it would be nice if there would be a little bit more flexibility for returning results.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
android - Jetpack Compose navigate for result - Stack Overflow
I want to be able to navigate from screen A to screen B. Once B does something and pops off the back stack,...
Read more >Provide custom back navigation - Android Developers
Implement custom back navigation; Activity onBackPressed() ... This usually allows Android to properly navigate to previous destinations ...
Read more >How to go back to another stack navigator? goBack / pop ...
PROBLEM: from Dashboard Landing screen, if I do navigation.navigate('AccountDetails'); it takes me to AccountDetails ,. but while going BACK ...
Read more >Returning Data to Previous Screens in Android Applications
However, in some cases, you need to navigate back from the “next” screen to the “previous” one and return some kind of data...
Read more ><iframe>: The Inline Frame element - HTML - MDN Web Docs
The HTML element represents a nested browsing context, ... The Referer header will not be sent to origins without TLS (HTTPS). origin :...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing as it was fixed in 1.3.1-beta release!
Then I think this is fine, I will do this change for next release. Thank you again @hvisser