ui_list-h.md 2.6 KB
Newer Older
W
wenjun 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
# ui\_list.h<a name="ZH-CN_TOPIC_0000001054718111"></a>

## **Overview**<a name="section627165139084833"></a>

**Related Modules:**

[Graphic](Graphic.md)

**Description:**

Declares a scrollable list in the vertical or horizontal direction. \* This scrollable list can be used with the adapter  **AbstractAdapter**  to implement scrolling, inertial scrolling, automatic alignment, and invoking of a callback when a child view at the preset position is selected as this list scrolls. It is used when there is a large number of child views with a fixed format. 

**Since:**

1.0

**Version:**

1.0

## **Summary**<a name="section1422723000084833"></a>

## Data Structures<a name="nested-classes"></a>

<a name="table545929948084833"></a>
<table><thead align="left"><tr id="row1980937572084833"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p102492778084833"><a name="p102492778084833"></a><a name="p102492778084833"></a>Data Structure Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p1758246368084833"><a name="p1758246368084833"></a><a name="p1758246368084833"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row64296157084833"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1441549582084833"><a name="p1441549582084833"></a><a name="p1441549582084833"></a><a href="OHOS-ListScrollListener.md">OHOS::ListScrollListener</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p398973746084833"><a name="p398973746084833"></a><a name="p398973746084833"></a>Represents a listener that contains a callback to be invoked when the scroll state changes or when a new child view is selected at the preset position as this list scrolls. The scroll state can be {<strong id="b2027087430084833"><a name="b2027087430084833"></a><a name="b2027087430084833"></a>} or SCROLL_STATE_MOVE}. </strong> </p>
</td>
</tr>
<tr id="row1668055051084833"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1589538796084833"><a name="p1589538796084833"></a><a name="p1589538796084833"></a><a href="OHOS-UIList.md">OHOS::UIList</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p607453230084833"><a name="p607453230084833"></a><a name="p607453230084833"></a>Represents a scrollable list which is used with the adapter <a href="OHOS-AbstractAdapter.md">AbstractAdapter</a> 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. </p>
</td>
</tr>
</tbody>
</table>