isShowProgress
The isShowProgress function is used to specify whether to display the progress bar that is located under the title bar.
Note: This function is only effective for H5 mini program and is not for DSL and H5+ mini program.
Method signature
copy
isShowProgress(showProgress: Boolean):GRVStartupParams.Builder
Parameters
Parameter | Data Type | Required | Description |
showProgress | Boolean | Yes | Controls whether to show the progress bar. Valid values:
If this parameter is not specified, the progress bar is displayed by default. |
Sample
copy
val startupParams = GRVStartupParams.createBuilderForApp(context, appId)
.isShowProgress(true)
.build()
Griver.openApp(startupParams,null)
User experience
Value | Screenshot |
| |
|