public static interface ListContainer.ItemVisibilityChangedListener
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onItemAdded(Component component,
int position) |
Called when a component is added to the set of visible components.
|
void |
onItemRemoved(Component component,
int position) |
Called when a component is removed from the set of visible components.
|
void onItemAdded(Component component, int position)
component - Indicates the component that has been added.position - Indicates the position of the component that has been added.void onItemRemoved(Component component, int position)
component - Indicates the component that has been removed.position - Indicates the position of the component that has been removed.