From wiki.ginstr.com
Revision as of 10:19, 9 November 2017 by Bojan (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_startTransactionMode</code></span> Category:Action_Libr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 preformed 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]|[]" />