Click or drag to resize

LazyListT Class

Very handy List implementation that delays object creation until it's accessed,

although the underlying List is still allocated with all slots from the beginning, only that they have default values - default(T)

Inheritance Hierarchy
SystemObject
  Com.ForbiddenByte.OSA.DataHelpersLazyListT

Namespace:  Com.ForbiddenByte.OSA.DataHelpers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class LazyList<T>

Type Parameters

T

The LazyListT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAsEnumerableForExistingItems
Returns an enumerable version of this list, which only contains the already-cached values
Public propertyCount
Public propertyItem
Top
Methods
  NameDescription
Public methodAdd
Public methodClear
Public methodInitWithNewCount
Public methodInsert
Public methodInsertAtStart
Public methodRemove(T)
Returns the index, if found
Public methodRemove(Int32, Int32)
Public methodRemoveAt Obsolete.
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also