(→Supported source1 to source2 widget combinations) |
(→Action signatures) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 170: | Line 170: | ||
| <code>[[Datatypes#number|number]]</code> | | <code>[[Datatypes#number|number]]</code> | ||
| <code>[[Datatypes#pointer|pointer]]</code> | | <code>[[Datatypes#pointer|pointer]]</code> | ||
+ | |- | ||
+ | | <code>[[Datatypes#date|date]]</code> | ||
+ | | <code>[[Datatypes#weekday|weekday]]</code> | ||
+ | |- | ||
+ | | <code>[[Datatypes#dateTime|datetime]]</code> | ||
+ | | <code>[[Datatypes#weekday|weekday]]</code> | ||
|- | |- | ||
|} | |} |
Latest revision as of 14:02, 4 September 2020
gn:act_convertDatatype
- Description
- Action used to copy content from source widget to destination widget.
- Action returns
- void
Action signatures
Copy data
[gn:act_convertDatatype]|[source1,source2,target]
Parameter Description source1
source from where the value will be converted source2
source to which datatype the value will be converted target
target where the converted value will be stored
Example
@+id/sourceWidgetId1
- source1@+id/sourceWidgetId2
- source2@+id/targetWidgetId
- target
- ⤷
[gn:act_convertDatatype]|[@+id/sourceWidgetId1,@+id/sourceWidgetId2,@+id/targetWidgetId]
- ⤷