GridAdapter
TParams, TCellVH
SmoothBringToView Method
|
Namespace:
Com.ForbiddenByte.OSA.CustomAdapters.GridView
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public override bool SmoothBringToView(
int cellIndex,
float duration,
Nullable<float> spacingFromViewportEdge = null,
Func<float, bool> onProgress = null,
Action onDone = null,
bool overrideCurrentScrollingAnimation = false
)
Parameters
- cellIndex
- Type: SystemInt32
- duration
- Type: SystemSingle
- spacingFromViewportEdge (Optional)
- Type: SystemNullable
Single
- onProgress (Optional)
- Type: SystemFunc
Single, Boolean
- onDone (Optional)
- Type: SystemAction
- overrideCurrentScrollingAnimation (Optional)
- Type: SystemBoolean
Return Value
Type:
Boolean
Version Information
Optimized ScrollView Adapter
Supported in: 4.3
See Also