From wiki.ginstr.com
Revision as of 12:05, 18 August 2017 by Dinko (talk | contribs)
Jump to: navigation, search

gn:act_filterDistinctRows

Description
Action used to remove duplicate rows from target
Action returns
void

Action signatures

[gn:act_filterDistinctRows]|[target]
Parameter Description
target target from where duplicate rows will be removed

Example

initial value
@variable/onlyDistinctDeviceTypes = John,John,Mark,Mark,John
variables.xml
<variable id="onlyDistinctDeviceTypes" type="rowsColumn" defaultValue="" columnType="pointer" />


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_filterDistinctRows]|[@variable/onlyDistinctDeviceTypes]" />
after action execution
@variable/onlyDistinctDeviceTypes = John,Mark