import Toybox.Application; import Toybox.Lang; import Toybox.WatchUi; class EinsatzprotokollApp extends Application.AppBase { function initialize() { AppBase.initialize(); } function onStart(state as Dictionary?) as Void { EventStore.pruneOld(); Logger.pruneOld(); } function onStop(state as Dictionary?) as Void {} function getInitialView() as [WatchUi.Views] or [WatchUi.Views, WatchUi.InputDelegates] { var view = new MenuView(); return [ view, new MenuDelegate(view) ]; } function getGlanceView() as [WatchUi.GlanceView] or [WatchUi.GlanceView, WatchUi.GlanceViewDelegate] or Null { return [ new GlanceView() ]; } }