OHOS::UIList

    Graphic

    Description:

    Represents a scrollable list which is used with the adapter 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 AbstractAdapter to implement functions for setting and saving data, obtaining data quantity, and creating child views. 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

    GetAllChildRelativeRect () const

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

    ()

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

    childrenHead

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

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

    childrenNum

    Represents the number of child views.

    Specifies the sliding state of this view group.

    disallowIntercept

    Specifies whether this view group is intercepted upon touch events.