Click or drag to resize

OSATParams, TItemViewsHolderIsRecyclable Method

Self-explanatory. The default implementation returns true each time

Namespace:  Com.ForbiddenByte.OSA.Core
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
protected virtual bool IsRecyclable(
	TItemViewsHolder potentiallyRecyclable,
	int indexOfItemThatWillBecomeVisible,
	double sizeOfItemThatWillBecomeVisible
)

Parameters

potentiallyRecyclable
Type: TItemViewsHolder
indexOfItemThatWillBecomeVisible
Type: SystemInt32
sizeOfItemThatWillBecomeVisible
Type: SystemDouble

Return Value

Type: Boolean
If the provided views holder is compatible with the item with index indexOfItemThatWillBecomeVisible
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also