Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

OnChildScrollUpCallback

interface OnChildScrollUpCallback
androidx.swiperefreshlayout.widget.SwipeRefreshLayout.OnChildScrollUpCallback

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

Summary

Public methods
abstract Boolean
canChildScrollUp(@NonNull parent: SwipeRefreshLayout, @Nullable child: View?)

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

Public methods

canChildScrollUp

abstract fun canChildScrollUp(
    @NonNull parent: SwipeRefreshLayout,
    @Nullable child: View?
): Boolean

Callback that will be called when SwipeRefreshLayout#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.
Return
Boolean Whether it is possible for the child view of parent layout to scroll up.