Revision as of 09:36, 4 July 2016 by Mark (talk | contribs) (Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_setVariable</code></span> Category:Action_Library <c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


gn:act_setVariable loads value from target and stores it to variable.

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

Action signature


Value field content

id of the variable which value will be stored to
id of widget from which value needs to be taken

It is possible to take value stored in target and set it to variable. At present following ways to set variable are possible from either widgets or variables.


From widgets “@+id/widgetId“ to variable supported:


  • from @variable/someVariableId to identical type variable
i.e. from variable “text” to variable “text”