From wiki.ginstr.com
Revision as of 13:50, 12 July 2017 by Mark (talk | contribs) (formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

gn:act_resetChrono

Description
Action used to reset the chronometer time to 0.
This action needs to be called each time before counting from 0 in order to reset the counter. Otherwise, once the chronometer is loaded on screen, the base time is set to the time the chronometer appeared on screen.
Action returns
void

Action signatures

Reset the chronometer

[gn:act_resetChrono]|[target]
Parameter Description
target target where the time will be reset

Example

@+id/targetwidget - GnChronometer target
[gn:act_resetChrono]|[@+id/targetwidget]