import Toybox.Application; import Toybox.Lang; import Toybox.WatchUi; class KittieCatsApp extends Application.AppBase { function initialize() { AppBase.initialize(); } function onStart(state as Dictionary?) as Void { ComplicationSubscriber.subscribe(); } function onStop(state as Dictionary?) as Void { } function getInitialView() as [Views] or [Views, InputDelegates] { return [ new KittieCatsView() ]; } function getSettingsView() as [ Views ] or [ Views, InputDelegates ] or Null { return [ new KittieCatsSettingsView(), new KittieCatsSettingsMenuDelegate() ]; } } function getApp() as KittieCatsApp { return Application.getApp() as KittieCatsApp; }