ClearAll Method (adaptor)

Remove all items from list.
protected bool ClearAll(
	IReorderableListAdaptor adaptor
)

Parameters

adaptor (IReorderableListAdaptor)
Reorderable list adaptor.

Return Value

Returns a value of false if operation was cancelled.

Remarks

The event ItemRemoving is raised for each item prior to clearing array and allows entire operation to be cancelled.