Click or drag to resize

GridAdapterTParams, TCellVHSmoothScrollToGroup Method

Namespace:  Com.ForbiddenByte.OSA.CustomAdapters.GridView
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public virtual bool SmoothScrollToGroup(
	int groupIndex,
	float duration,
	float normalizedOffsetFromViewportStart = 0f,
	float normalizedPositionOfItemPivotToUse = 0f,
	Func<float, bool> onProgress = null,
	Action onDone = null,
	bool overrideAnyCurrentScrollingAnimation = false
)

Parameters

groupIndex
Type: SystemInt32
duration
Type: SystemSingle
normalizedOffsetFromViewportStart (Optional)
Type: SystemSingle
normalizedPositionOfItemPivotToUse (Optional)
Type: SystemSingle
onProgress (Optional)
Type: SystemFuncSingle, Boolean
onDone (Optional)
Type: SystemAction
overrideAnyCurrentScrollingAnimation (Optional)
Type: SystemBoolean

Return Value

Type: Boolean
Version Information

Optimized ScrollView Adapter

Supported in: 4.3
See Also