OSATParams, TItemViewsHolderRequestChangeItemSizeAndUpdateLayout Method (TItemViewsHolder, Single, Boolean, Boolean) |
Namespace:
Com.ForbiddenByte.OSA.Core
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public float RequestChangeItemSizeAndUpdateLayout(
TItemViewsHolder withVH,
float requestedSize,
bool itemEndEdgeStationary = false,
bool computeVisibility = true
)
Parameters
- withVH
- Type: TItemViewsHolder
the views holder. A common usage for an "expand on click" behavior is to have a button on a view whose onClick fires a method in the adapter where it retrieves the views holder via GetItemViewsHolderIfVisible(RectTransform) - requestedSize
- Type: SystemSingle
- itemEndEdgeStationary (Optional)
- Type: SystemBoolean
- computeVisibility (Optional)
- Type: SystemBoolean
Return Value
Type:
SingleVersion Information Optimized ScrollView Adapter
Supported in: 4.1
See Also