Actual demand
What types of dialog components provided by Hongmeng (HarmonyOS Hongmeng development basic knowledge)
solution
Hongmeng currently provides 6 basic dialog components, the details are as follows.
-
BaseDialog is the base
class of the Dialog class. -
CommonDialog Common dialog box
Create a common dialog box. -
DisplayDialog Display dialog box
Display the contents of the dialog box on the remote screen. -
DisplayDialog.DialogProvider
encapsulates information about the remote screen, including its height, width, IP address, port and density in DPI. -
ListDialog list dialog box
Create an instance of ListDialog. -
PopupDialog Popup dialog box
Create a popup dialog box for a specific component. -
ToastDialog Toast dialog
provides a Toast dialog box at the top of the window to notify simple feedback of the operation.
Unauthorized reprinting is prohibited
For more technical exchanges, please join the QQ group
Group name: harmonyos Hongmeng Technology Exchange
Group number: 856567895
Start from scratch to learn HarmonyOS Hongmeng 2.0 development
- Original HarmonyOS Hongmeng Getting Started Tutorial 01 Basic Environment and Development Tools (tutorial includes source code)
- Original HarmonyOS Hongmeng Development 02 Development Tools Installation
- Original HarmonyOS Hongmeng Getting Started Tutorial 03 Run the development tool to complete the basic configuration DevEco Studio (tutorial includes source code)
- Original HarmonyOS Hongmeng Development 04 Run the first hello world (tutorial with source code)
- Original HarmonyOS Hongmeng Development 05 Run the first page (tutorial with source code)
- Original HarmonyOS Hongmeng Development 06 Create page Feature Ability through code (tutorial includes source code)
- Original HarmonyOS Hongmeng Development 07 Programming to realize page jump (tutorial includes source code)