UI
Overview about UI Module
Provides functions that make changes to the UI of Zalopay App
List of supported SDK functions
Function | Description |
---|---|
showLoading | Display Zalopay's loading dialog when the miniapp performs heavy tasks |
hideLoading | Turn off the loading dialog of Zalopay |
showDialog | Open a dialog to display some information to the user |
openShareDialog | Open a dialog to share some information from Zalopay App to other applications |
showToast | Open a toast screen to display information to the user in a short period of time |
closeWindow | Close the miniapp screen |
setToolbarActions | Add actions as buttons in the webview navigation bar |
setStatusBar | Adjust color, hide/show device status bar |
setActionBar | Adjust color, hide/show navigation bar of webview |
setTitle | Adjust the title displayed in the webview |
shareFB | Open a dialog to share information to Facebook |
hideKeyboard | Hide the keyboard from the screen |