What types of dialog components provided by Hongmeng (HarmonyOS Hongmeng development basic knowledge)

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

Guess you like

Origin blog.csdn.net/iCloudEnd/article/details/108748536