Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 25.1.0
belongs to Maven artifact com.android.support:swiperefreshlayout:28.0.0-alpha1

SwipeRefreshLayout.OnChildScrollUpCallback

public static interface SwipeRefreshLayout.OnChildScrollUpCallback

android.support.v4.widget.SwipeRefreshLayout.OnChildScrollUpCallback


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

Summary

Public methods

abstract boolean canChildScrollUp(SwipeRefreshLayout parent, View child)

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

Public methods

canChildScrollUp

added in version 25.1.0
boolean canChildScrollUp (SwipeRefreshLayout parent, 
                View child)

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

Parameters
parent SwipeRefreshLayout: SwipeRefreshLayout that this callback is overriding.

child View: The child view of SwipeRefreshLayout.

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