RxPullToRefreshDelegate
@objc
public protocol RxPullToRefreshDelegate : NSObjectProtocol
The interface for handling actions in a RxPullToRefresh object.
-
A delegate method that called each time a user performs an action.
Declaration
Swift
func action(state: RxPullToRefreshState, progress: CGFloat, scroll: CGFloat)Parameters
stateA RxPullToRefreshState value.
progressA CGFloat value indicating a progress rate. The value is limited to between 0 and 1.
scrollA CGFloat value indicating a scroll rate. The value is limited to between 0 and 1.
View on GitHub
RxPullToRefreshDelegate Protocol Reference