Hongmeng Intermediate AbilityForm (HarmonyOS Hongmeng development basic knowledge)

AbilityForm

Display brief information about another type of Ability.
According to the person providing or displaying content, the presentation of AbilityForm involves the following two roles:

  • Supplier: Provide the AbilityForm content to be displayed. The supplier controls the display content and logic.

    • The supplier uses the singleton model.
    • A supplier can provide display content for multiple customers.
  • Client: Display AbilityForm content. The client controls the AbilityForm layout.

    • The customer can only display content provided by one supplier.
    • The client displays the AbilityForm on the AbilitySlice object. Multiple clients can display AbilityForm content on the same AbilitySlice.
    • Customers can use the layout components provided by AbilitySlice to lay out the AbilityForm instances displayed on the ability slice.

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/108734384
Recommended