OHOS::UIList

    Description:

    Represents a scrollable list which is used with the adapter AbstractAdapter to implement scrolling, inertial scrolling, automatic alignment, and invoking of a callback when a child view is selected at the preset position as this list scrolls.

    You need to override to implement functions for setting and saving data, obtaining data quantity, and creating child views. UIList is used when there is a large number of child views with a fixed format. This list automatically reclaims the child views removed out of the current view as it scrolls so that as many as child views can be displayed with a lower memory consumption.

    Since:

    1.0

    Version:

    1.0

    Additional Inherited Member Name

    Description

    () const

    Obtains the rectangle area of a new view group after being adaptive to the size of all child views.

    OnChildChanged ()

    Performs operations needed after a child view is added or removed.

    Indicates the pointer to the first child view of this view group.

    childrenTail

    Indicates the pointer to the last child view of this view group.

    Represents the number of child views.

    isDragging

    Specifies the sliding state of this view group.

    Specifies whether this view group is intercepted upon touch events.

    isAutoSize