(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> Category:Action_Library <code>gn:act_widgetIncreaseCounter</code> is used to add <code>+1</code>...") |
m |
||
Line 1: | Line 1: | ||
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> | <div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> | ||
+ | <span STYLE="font-size: xx-large"><code>gn:act_widgetIncreaseCounter</code></span> | ||
[[Category:Action_Library]] | [[Category:Action_Library]] | ||
+ | |||
<code>[[gn:act_widgetIncreaseCounter]]</code> is used to add <code>+1</code> to number stored in <code>@+id/targetWidget</code> | <code>[[gn:act_widgetIncreaseCounter]]</code> is used to add <code>+1</code> to number stored in <code>@+id/targetWidget</code> | ||
Revision as of 12:03, 3 July 2016
Contents
gn:act_widgetIncreaseCounter
gn:act_widgetIncreaseCounter
is used to add +1
to number stored in @+id/targetWidget
The target widget must contain a numeric integer value.
- Can be used on widgets
- any widget
- Event trigger for action
- no event, must be used in action set or conditional action.
- Can be used as
- a no event action
- Additional required attributes on bound widget
- none
- Additional required attributes on other widgets
- none
Action signature
[gn:act_widgetIncreaseCounter]|[@+id/targetWidget]
Value field content
@+id/targetWidget
- defines target widget that stores integer value
Currently works with the following widgets: