From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
Line 4: Line 4:
  
 
;Description: Action used to display a progress dialog.
 
;Description: Action used to display a progress dialog.
 +
: Works in combination with [[gn:act_changeProgressDialog]] and [[gn:act_hideProgressDialog]]
  
 
;Action returns: void
 
;Action returns: void

Revision as of 16:35, 8 August 2019

gn:act_showProgressDialog

Description
Action used to display a progress dialog.
Works in combination with gn:act_changeProgressDialog and gn:act_hideProgressDialog
Action returns
void

Action signatures

Show progress dialog

[gn:act_showProgressDialog]|[source,maxValue,currentValue,keyword]
Parameter Description
source source from where the progress dialog message will be used
maxValue number which represents the maximum value
currentValue number which represents the current value
keyword defines the progress dialog type

Can be:

  • SPINNER
  • HORIZONTAL

Example

@+id/dialogMessage - source
100 - maxValue
100 - currentValue
SPINNER - keyword
[gn:act_showProgressDialog]|[@+id/dialogMessage,100,100,SPINNER]