Action: NEXT_SCREEN

In order to navigate from one screen to another, action NEXT_SCREEN is used. The action is execute

Attributes Value Mandatory
action_name NEXT_SCREEN Yes
event_list comma separated list of events, eg: TAP Yes
target target screen name Yes
input_parameter_list comma separated parameters No
target_parameter_list comma separated parameters No

Example 1

In this example, on tapping the control, the user will navigate to a screen called home from the current screen.

<action event_list="TAP" action_name="NEXT_SCREEN" target="home"/>

Example 2

In this example, on tapping the control, the user will navigate to a screen called userprofile from the current screen. Parameters lastname, firstname, email and password are passed from current screen to the userprofile screen.

<action event_list="TAP" action_name="NEXT_SCREEN" target="userprofile"
            input_parameter_list="lastname, firstname, email, password">

Reference tutorial

This chapter uses source code from appemble-tutorial-screen-nav. If you have not downloaded tutorial source code, click on Download Source Code - Tutorials

Android - Right click on appemble-tutorial-screen-nav and click on Run as Android application.

iOS - Select scheme appemble-tutorial-screen-nav and iPhone x.x simulator. Click on Product -> Run.