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_startTransactionMode</code></span> Category:Action_Libr...")
 
m (formatting)
 
Line 3: Line 3:
 
[[Category:Action_Library]]
 
[[Category:Action_Library]]
  
;Description: Action used to start transaction mode of saving data to database. After <code>gn:act_startTransactionMode</code> is executed, all executed <code>[[gn:act_rawWriteValues]]</code> and <code>[[gn:act_rawUpdateValues]]</code> actions are stored into ordered set of pending transactions to be stored to database but not directly executed, execution is preformed by <code>[[gn:act_stopTransactionMode]]</code>
+
;Description: Action used to start transaction mode of saving data to database. After <code>[[gn:act_startTransactionMode]]</code> is executed, all executed <code>[[gn:act_rawWriteValues]]</code> and <code>[[gn:act_rawUpdateValues]]</code> actions are stored into ordered set of pending transactions to be stored to database but not directly executed, execution is performed by <code>[[gn:act_stopTransactionMode]]</code>
  
 
;Action returns: void
 
;Action returns: void
Line 9: Line 9:
  
 
:;<code>[gn:act_startTransactionMode]|[]</code>
 
:;<code>[gn:act_startTransactionMode]|[]</code>
 
  
 
====Example====
 
====Example====

Latest revision as of 17:39, 24 January 2018

gn:act_startTransactionMode

Description
Action used to start transaction mode of saving data to database. After gn:act_startTransactionMode is executed, all executed gn:act_rawWriteValues and gn:act_rawUpdateValues actions are stored into ordered set of pending transactions to be stored to database but not directly executed, execution is performed by gn:act_stopTransactionMode
Action returns
void

Action signatures

[gn:act_startTransactionMode]|[]

Example

screen.xml
<FrameLayout
    android:id="@+id/exampleFrame"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:visibility="gone"
    gn:act_set="[gn:act_startTransactionMode]|[]" />