Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BaseListViewController

Base collection list view controller. View controllers of this type are meant to take care of data virtualized by any BaseListView inheritor.
Read time 2 minutesLast updated 4 days ago

Definition

public abstract class BaseListViewController : CollectionViewController, IDisposable

Properties

Property

Description

baseListViewView for this controller, cast as a BaseListView.

Methods

Method

Description

AddItemsAdds a certain amount of items at the end of the collection.
ClearItemsRemoves all items from the source.
MoveMoves an item in the source.
NeedsDragHandleReturns whether this item needs a drag handle or not with the Animated drag mode.
RaiseItemsAddedInvokes the _itemsAdded event.
RaiseItemsRemovedInvokes the _itemsRemoved event.
RaiseOnSizeChangedInvokes the _itemsSourceSizeChanged event.
RemoveItemRemoves an item from the source, by index.
RemoveItemsRemoves items from the source, by indices.

Events

Member

Description

itemsAddedRaised when an item is added to the _itemsSource.
itemsRemovedRaised when an item is removed from the _itemsSource.
itemsSourceSizeChangedRaised when the _itemsSource size changes.

Inheritance