Class: $.ActivityTrackerView
- Inherits:
-
WatchUi.View
-
WatchUi.View
-
Overview
Main view for the tracker app
Instance Member Summary collapse
-
_timer as Timer.Timer
Update timer.
Instance Method Summary collapse
-
drawBar(dc as Graphics.Dc, string as Lang.String, y as Lang.Numeric, percent as Lang.Numeric, color as Graphics.ColorType) as Void
Draw the move bar.
-
initialize()
Constructor.
-
onHide() as Void
Stops the timer when the view is hidden.
-
onShow() as Void
Starts the timer when the view is visible.
-
onTimer() as Void
Timer callback.
-
onUpdate(dc as Graphics.Dc) as Void
Handle the update event.
Instance Attribute Details
var _timer as Timer.Timer
Update timer
Instance Method Details
drawBar(dc as Graphics.Dc, string as Lang.String, y as Lang.Numeric, percent as Lang.Numeric, color as Graphics.ColorType) as Void
Draw the move bar
initialize()
Constructor
onHide() as Void
Stops the timer when the view is hidden
onShow() as Void
Starts the timer when the view is visible
onTimer() as Void
Timer callback
onUpdate(dc as Graphics.Dc) as Void
Handle the update event