1
edit
Changes
→Step 18 - Right click the package, and create a new Class, called MyScreen
specificed int he pushScreen method ==
== Step 18 - Right click the package, and create a new Class, called MyScreen ==
== Step 19 - MyScreen will be the first screen of the app and here we can configure a screen title and anything else we want to start the app with ==== Step 20 - In this tutorial, we create a button, defined as an instance variable of the MyScreen class ==== Step 21 - We set the current class to be the listener for any changes in the state of this button and assign it a title ==
== Step 22 - The button is added to the screen, which is a UiApplication object ==
== Step 23 - In the field changed method, we push another screen into view when the button is pressed