PullToRefreshGizmoOnPull Method |
Called for each OnDrag event on the ScrollView. In other words, it's called continuously during moving the mouse/finger after the click
Namespace:
Com.ForbiddenByte.OSA.Util.PullToRefresh
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic virtual void OnPull(
double power
)
Parameters
- power
- Type: SystemDouble
0d = didn't drag at all; .5d = dragged half-way from start; 1d = dragged from start exactly at the minimum needed point in
order for a refresh event to occur; values will exceed 1f after this minimum drag amount is exceeded
(which can be used to visualize the fact that after the click/finger is released, the refresh will occur).
Negative values indicate a pull from the end instead of start, and the same rules apply
Version InformationOptimized ScrollView Adapter
Supported in: 4.3
See Also