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_afterLoad</code></span> Category:Lifecycle_Actions <...")
 
 
(3 intermediate revisions by 2 users not shown)
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_afterLoad</code></span>
 
<span STYLE="font-size: xx-large"><code>gn:act_afterLoad</code></span>
[[Category:Lifecycle_Actions]]
+
[[Category:Events]]
 +
[[Category:Lifecycle Events]]
  
<code>[[gn:act_afterLoad]]</code> is a lifecycle action that is executed after screen is loaded.
+
;Description
 +
: Event executed after screen is loaded.
 +
: This means that it’s also executed after <code>[[gn:act_beforeLoad]]</code>
  
This means that it’s also executed after <code>[[gn:act_beforeLoad]]</code>
+
;Can be used on
 +
: all [[:Category:Widgets|widgets]]
  
;Can be used on widgets: any widget
+
==Event signature==
 +
:;<code>gn:act_afterLoad="action{n}"</code>
  
==Action signature==
+
===Example===
;<code>gn:act_afterLoad=[action]|[actValue],[action2]|[actValue],….”</code>
+
:<code>gn:act_afterLoad="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"</code>
 +
<hr>

Latest revision as of 18:36, 24 January 2018

gn:act_afterLoad

Description
Event executed after screen is loaded.
This means that it’s also executed after gn:act_beforeLoad
Can be used on
all widgets

Event signature

gn:act_afterLoad="action{n}"

Example

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