Structuring the First View
Context
The layout of the first view is structured in this step and a simple action is implemented. The user should be able to trigger navigation to the RESULTVIEW by clicking a button on the STARTVIEW. To achieve this, the view requires an outbound plug. A suitable element must then be added to the layout of the view and connected to the outbound plug using a method call. An additional inbound plug ensures that navigation can be set up from the second to the first view.
The layout of the view also needs a InputField so that it can accept user input.
Procedure
Results
In this step, on the one hand you have assembled the simple layout of the first view of your application, and on the other hand you have ensured the navigability of the view by creating plugs. Furthermore, you have linked both of these to each other by linking the Button interface element to a navigation call to an outbound plug of the view.