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 11 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 BaseListViewController.itemsAdded event.
RaiseItemsRemovedInvokes the BaseListViewController.itemsRemoved event.
RaiseOnSizeChangedInvokes the BaseListViewController.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 CollectionViewController.itemsSource.
itemsRemovedRaised when an item is removed from the CollectionViewController.itemsSource.
itemsSourceSizeChangedRaised when the CollectionViewController.itemsSource size changes.

Inheritance