19 lines
421 B
Mason
19 lines
421 B
Mason
import Toybox.Lang;
|
|
import Toybox.System;
|
|
import Toybox.WatchUi;
|
|
|
|
class hockeyTimerMenuDelegate extends WatchUi.MenuInputDelegate {
|
|
|
|
function initialize() {
|
|
MenuInputDelegate.initialize();
|
|
}
|
|
|
|
function onMenuItem(item as Symbol) as Void {
|
|
if (item == :item_1) {
|
|
System.println("item 1");
|
|
} else if (item == :item_2) {
|
|
System.println("item 2");
|
|
}
|
|
}
|
|
|
|
} |