Class: $.ApplicationStorageView

Inherits:
WatchUi.View show all

Overview

Show the current storage values

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _indicator as $.PageIndicator

Instance Method Details

getDisplayString(storagePrefix as Lang.String, storageId as Lang.Number) as Lang.String

Get a string with the storage value and given prefix

Parameters:

  • storagePrefix —

    Label to prefix the storage value

  • storageId —

    The key for the storage item

Returns:

  • String with the storage prefix and value

initialize()

Constructor

onLayout(dc as Graphics.Dc) as Void

Load your resources here

Parameters:

  • dc —

    Device context

onUpdate(dc as Graphics.Dc) as Void

Update the view

Parameters:

  • dc —

    Device Context

updateLabel(labelId as Lang.String, labelText as Lang.String) as Void

Update a label with new text

Parameters:

  • labelId —

    The label to update

  • labelText —

    The text for the label


Generated Jun 9, 2026, 8:45:32 AM