Skip to content
New issue

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

How to get the Routing stack? #2118

Closed
sds311 opened this issue Jul 26, 2017 · 0 comments
Closed

How to get the Routing stack? #2118

sds311 opened this issue Jul 26, 2017 · 0 comments

Comments

@sds311
Copy link

sds311 commented Jul 26, 2017

I want register the 's backAndroidHandler event , like Following Code:

<Router backAndroidHandler={
(navProps)=>{ console.log(navProps.navigationState); }
} />,

but , this function Not a bit of navProps , why not injection this parameters, so, how I get the navigationState in backAndroidHandler function, how use the backAndroidHandler function at the difference Scenes show to run the defference logic code?

@aksonov aksonov marked this as a duplicate of #2122 Jul 27, 2017
@aksonov aksonov closed this as completed Jul 27, 2017
@aksonov aksonov marked this as not a duplicate of #2122 Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants