Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Built In Actions

Adrián Rivero edited this page Mar 17, 2017 · 6 revisions

DecleX includes a series of Built-In Actions that takes common tasks to their most elemental syntax.

@EActivity and @EFragment

All the Enhanced Activities and Enhanced Fragments can be used from the actions. The Action name consists of the dollar sign ("$") plus the Activity or Fragment name

Events

Any event created in DecleX will have its corresponding action. The Action name consists of the dollar sign ("$") plus the Event Class name.

Model Operations

  • $LoadModel: Loads the model that is passed as parameter
  • $PutModel: Puts the model that is passed as parameter
  • $Recollect: Recollect the model that is passed as parameter
  • $Populate: Populate the model that is passed as parameter

Thread Control

  • $UIThread: Run the actions in the Main Thread
  • $Background: Run the actions in a Background Thread

Android

  • $AlertDialog: Alert Dialog Wrapper
  • $ProgressDialog: Progress Dialog Wrapper
  • $DateDialog: Date Picker Dialog Wrapper
  • $TimeDialog: Time Picker Dialog Wrapper
  • $Toast: Toast Wrapper
  • $Notification Notification Wrapper
  • $Animate: Animates a View given an animation resource.

See Also: