init
This commit is contained in:
commit
13f4132d3c
58 files changed
+6291
No files matched your search
@@ -0,0 +1,28 @@
|
||||
import Toybox.Application;
|
||||
import Toybox.Lang;
|
||||
import Toybox.WatchUi;
|
||||
|
||||
class hockeyTimerApp extends Application.AppBase {
|
||||
|
||||
function initialize() {
|
||||
AppBase.initialize();
|
||||
}
|
||||
|
||||
// onStart() is called on application start up
|
||||
function onStart(state as Dictionary?) as Void {
|
||||
}
|
||||
|
||||
// onStop() is called when your application is exiting
|
||||
function onStop(state as Dictionary?) as Void {
|
||||
}
|
||||
|
||||
// Return the initial view of your application here
|
||||
function getInitialView() as [Views] or [Views, InputDelegates] {
|
||||
return [ new hockeyTimerView(), new MyInputDelegate() ];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function getApp() as hockeyTimerApp {
|
||||
return Application.getApp() as hockeyTimerApp;
|
||||
}
|
||||
Reference in new issue
Block a user