diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationHeaderScenesTabs-example.js b/Examples/UIExplorer/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js similarity index 99% rename from Examples/UIExplorer/NavigationExperimental/NavigationHeaderScenesTabs-example.js rename to Examples/UIExplorer/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js index 9109e6e45..ec661b086 100644 --- a/Examples/UIExplorer/NavigationExperimental/NavigationHeaderScenesTabs-example.js +++ b/Examples/UIExplorer/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js @@ -204,7 +204,7 @@ class YourApplication extends Component { // This public method is optional. If exists, the UI explorer will call it // the "back button" is pressed. Normally this is the cases for Android only. handleBackAction(): boolean { - return this._onNavigate({type: 'pop'}); + return this._navigate({type: 'pop'}); } // This handles the navigation state changes. You're free and responsible diff --git a/Examples/UIExplorer/NavigationExperimental/NavigationExperimentalExample.js b/Examples/UIExplorer/NavigationExperimental/NavigationExperimentalExample.js index d264ff6fc..54285d01a 100644 --- a/Examples/UIExplorer/NavigationExperimental/NavigationExperimentalExample.js +++ b/Examples/UIExplorer/NavigationExperimental/NavigationExperimentalExample.js @@ -33,8 +33,8 @@ const View = require('View'); * To learn how to use the Navigation API, take a look at the following example files: */ const EXAMPLES = { - 'NavigationCardStack Example': require('./NavigationCardStack-example'), - 'Header + Scenes + Tabs Example': require('./NavigationHeaderScenesTabs-example'), + 'CardStack + Header + Tabs Example': require('./NavigationCardStack-NavigationHeader-Tabs-example'), + 'CardStack Example': require('./NavigationCardStack-example'), }; const EXAMPLE_STORAGE_KEY = 'NavigationExperimentalExample';