OSATParams, TItemViewsHolderOnItemHeightChangedPreTwinPass Method |
Only called for vertical ScrollRects. Called just before a "Twin" ComputeVisibility will execute.
This can be used, for example, to disable a ContentSizeFitter on the item which was used to externally calculate the item's size in the current Twin ComputeVisibility pass
Namespace:
Com.ForbiddenByte.OSA.Core
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax protected virtual void OnItemHeightChangedPreTwinPass(
TItemViewsHolder viewsHolder
)
Parameters
- viewsHolder
- Type: TItemViewsHolder
Version Information Optimized ScrollView Adapter
Supported in: 4.1
See Also