public interface

SwipeRefreshLayout.OnChildScrollUpCallback

 androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnChildScrollUpCallback

Overview

Classes that wish to override SwipeRefreshLayout.canChildScrollUp() method behavior should implement this interface.

Summary

Methods
public booleancanChildScrollUp(SwipeRefreshLayout parent, View child)

Callback that will be called when SwipeRefreshLayout.canChildScrollUp() method is called to allow the implementer to override its behavior.

Methods

public boolean canChildScrollUp(SwipeRefreshLayout parent, View child)

Callback that will be called when SwipeRefreshLayout.canChildScrollUp() method is called to allow the implementer to override its behavior.

Parameters:

parent: SwipeRefreshLayout that this callback is overriding.
child: The child view of SwipeRefreshLayout.

Returns:

Whether it is possible for the child view of parent layout to scroll up.