Skip to main content

UI

Overview about UI Module

Provides functions that make changes to the UI of Zalopay App

List of supported SDK functions

FunctionDescription
showLoadingDisplay Zalopay's loading dialog when the miniapp performs heavy tasks
hideLoadingTurn off the loading dialog of Zalopay
showDialogOpen a dialog to display some information to the user
openShareDialogOpen a dialog to share some information from Zalopay App to other applications
showToastOpen a toast screen to display information to the user in a short period of time
closeWindowClose the miniapp screen
setToolbarActionsAdd actions as buttons in the webview navigation bar
setStatusBarAdjust color, hide/show device status bar
setActionBarAdjust color, hide/show navigation bar of webview
setTitleAdjust the title displayed in the webview
shareFBOpen a dialog to share information to Facebook
hideKeyboardHide the keyboard from the screen