-
Notifications
You must be signed in to change notification settings - Fork 115
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 use it with react-native-router-flux? #27
Comments
I assume you have looked at how Tabs are done in the Looking at your code quickly, it looks like for starters, you need to have a You might have noticed that |
the thing is, that both examples (the recent one and the old one) in the react-native-router-flux repo change the whole scene, and not one section of the scene... whilest the example on react-native-tabs changes only one value on the screen, and doesn't load different content... I guess I should just have a switch there |
You need to wrap the tabs with a TabBar component. That will display the selected tab component I think you want to customize the scene to have the tabs at the top and additional common content. I had a similar problem (I'm on iOS) --- I use |
+1 |
Anyone has idea how use react-native-router-flux with react-native-tabs already? |
How can I catch touch event on Tabbar? Thanks |
Hello,
quite new to the react scene and I am struggling to understand some flow...
I have an index page where I registered all the scenes, as suggested on the router-flux docs:
And then I call
in my redner method... works fine...
but then on the page
TraineeDetails I have a Tabbar on the top... and I would like to display content from the assigned components
The code in my TraineeDetails:
How do I insert the component and re-render it each time the tab is tapped?
In your example you just change a variable and text on the same scene... would be helpful if you could add a container and change the content (loaded dynamically from a component)
The text was updated successfully, but these errors were encountered: