|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface App
Main interface for apps. Apps are started and managed by the AppController
.
AppDescriptor
,
AppController
Method Summary | |
---|---|
AppView |
getView()
|
void |
locationChanged(Location location)
Called when the location changes and the app is already running. |
void |
openChooseDialog(UiContext overlayLayer,
String selectedId,
ChooseDialogCallback callback)
Open a dialog which enables a user to choose an item from the app. |
void |
start(Location location)
Called when the app is started. |
void |
stop()
Called when the user stops the app. |
Method Detail |
---|
void start(Location location)
location
- the location that triggered the app to be startedvoid locationChanged(Location location)
location
- the new locationvoid stop()
AppView getView()
void openChooseDialog(UiContext overlayLayer, String selectedId, ChooseDialogCallback callback)
overlayLayer
- The layer over which the opened dialog should be presented and be modal. See Shell, SubAppContext
, AppContext
.callback
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |