Click or drag to resize

PullToRefreshGizmo Class

Base class for gizmos that can be used with PullToRefreshBehaviour (see it for more details). Attach it to your ScrollView
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Com.ForbiddenByte.OSA.Util.PullToRefreshPullToRefreshGizmo
            Com.ForbiddenByte.OSA.Util.PullToRefreshPullToRefreshRotateGizmo

Namespace:  Com.ForbiddenByte.OSA.Util.PullToRefresh
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class PullToRefreshGizmo : MonoBehaviour

The PullToRefreshGizmo type exposes the following members.

Constructors
  NameDescription
Public methodPullToRefreshGizmo
Top
Properties
  NameDescription
Public propertyIsShown
Property that can be overriden by the inheritors. The default implementation is to set whether the game object is active or not
Top
Methods
  NameDescription
Public methodAwake
Public methodOnPull

Called for each OnDrag event on the ScrollView. In other words, it's called continuously during moving the mouse/finger after the click

Public methodOnRefreshCancelled
Called when the click/finger was released before the pullPower reached 1f
Public methodOnRefreshed
Called when the refresh did occur (dragged with at least 1f power and released)
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also