AbstractViewsHolderShiftIndex Method |
Namespace:
Com.ForbiddenByte.OSA.Core
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public virtual void ShiftIndex(
int shift,
int modulo
)
Parameters
- shift
- Type: SystemInt32
- modulo
- Type: SystemInt32
This is the items count, but its purpose is to limit the new value of the itemIndex to be no greater than it.
If it's greater, it should be rotated. This occurs in some cases when looping is enabled.
You don't need to care about this as here it's the only place it's used
Version Information Optimized ScrollView Adapter
Supported in: 4.1
See Also