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

passing property to second scene android #158

Open
jigarrdesai opened this issue Apr 15, 2016 · 1 comment
Open

passing property to second scene android #158

jigarrdesai opened this issue Apr 15, 2016 · 1 comment

Comments

@jigarrdesai
Copy link

this.props.navigator.push({
id: 'MainPage',
name: 'test',
passProps: {userInfo: res}
});

i am setting property userInfo but passProps not working and i am not able to get property parameter in second scene

@SiriusDely
Copy link

Hi, @jigarrdesai !

I had the same question previously, but managed to find the answer in this thread: #15 (comment)

Basically, you can access it on the next scene using this.props.route.passProps.userInfo

Hope it helps.

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