Class: $.ActivityTrackerView

Inherits:
WatchUi.View show all

Overview

Main view for the tracker app

Instance Member Summary collapse

Instance Method Summary collapse

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

Parameters:

  • dc —

    Draw context

  • string —

    Message to draw

  • y —

    y position on string to draw

  • percent —

    Percent of the bar to fill (0 - 1.0)

  • color —

    Color to use

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

Parameters:

  • dc —

    Draw context


Generated Oct 20, 2026, 8:20:23 AM