Class: $.MyApp

Inherits:
Application.AppBase
show all

Overview

This app demonstrates how to use multiple pages within a single application. Next/previous page behaviors will cycle through different primate pictures where each picture shows a different resource type. Tapping a page will push a new view that displays information about the primate species.

Instance Method Summary collapse

Instance Method Details

getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]

Return the initial view for the app

Returns:

  • Array Pair [View, InputDelegate]

initialize()

Constructor

onStart(state as Lang.Dictionary or Null) as Void

Handle app startup

Parameters:

  • state

    Startup arguments

onStop(state as Lang.Dictionary or Null) as Void

Handle app shutdown

Parameters:

  • state

    Shutdown arguments


Generated Apr 17, 2024, 8:05:14 AM