Click or drag to resize

OSATParams, TItemViewsHolderShouldDestroyRecyclableItem Method

Self-explanatory. The default implementation returns true if isInExcess is true

Namespace:  Com.ForbiddenByte.OSA.Core
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
protected virtual bool ShouldDestroyRecyclableItem(
	TItemViewsHolder inRecycleBin,
	bool isInExcess
)

Parameters

inRecycleBin
Type: TItemViewsHolder
an item in the recycle bin (not visible, disabled)
isInExcess
Type: SystemBoolean
this will be true if the current number of items exceeded the allowed one (as inferred from the parameters given at initialization)

Return Value

Type: Boolean
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also