From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_onResume</code></span> Category:Events Category:Lif...")
 
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_onResume</code></span>
+
<span STYLE="font-size: xx-large"><code>Executed each time the user changes ginstr launcher setting value</code></span>
 
[[Category:Events]]
 
[[Category:Events]]
 
[[Category:Lifecycle Events]]
 
[[Category:Lifecycle Events]]
Line 11: Line 11:
  
 
==Event signature==
 
==Event signature==
:;<code>gn:act_onResume="action{n}"</code>
+
:;<code>gn:event_onLauncherSettingChange="action{n}"</code>
  
 
===Example===
 
===Example===
:<code>gn:act_onResume="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"</code>
+
:<code>gn:event_onLauncherSettingChange="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"</code>
 
<hr>
 
<hr>

Revision as of 12:56, 11 February 2020

Executed each time the user changes ginstr launcher setting value

Description
Executed each time the app is returning to the foreground
Can be used on
all widgets

Event signature

gn:event_onLauncherSettingChange="action{n}"

Example

gn:event_onLauncherSettingChange="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"