import Toybox.Application; import Toybox.Lang; import Toybox.WatchUi; // Application shell. A watch face has no menus or input of its own, so this // only hands back the view and forces a repaint when the wearer changes // something in the Connect IQ settings. class Fenix8V3App extends Application.AppBase { function initialize() { AppBase.initialize(); } function onStart(state as Dictionary?) as Void { } function onStop(state as Dictionary?) as Void { } function getInitialView() as [Views] or [Views, InputDelegates] { return [new Fenix8V3View()]; } // Fires when the phone pushes new settings down. The view reads every // preference fresh on each draw, so a repaint is all that is needed. function onSettingsChanged() as Void { WatchUi.requestUpdate(); } } function getApp() as Fenix8V3App { return Application.getApp() as Fenix8V3App; }