Jump to: navigation, search

Lab BlackBerry Example

431 bytes added, 22:54, 26 February 2011
no edit summary
''public void setChangeListener(FieldChangeListener listener)''
Each field can have only one change listener object. The param ''listener'' is the object to listen for field changes.
The ''FieldChangeListener'' is the istener interface for handling Field change events. The interface has only one method:
''void fieldChanged(Field field, int context)''
We want in our app, when the user click the button the method to create a new Screen object and to push it to the user through the invocation of
''pushScreen(new NextScreen());'' where the NextScreen is a class that will define the next screen of the app.

Navigation menu