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

EdgeEffectFactory

open class EdgeEffectFactory
kotlin.Any
   ↳ androidx.recyclerview.widget.RecyclerView.EdgeEffectFactory

EdgeEffectFactory lets you customize the over-scroll edge effect for RecyclerViews.

Summary

Nested classes

Constants
static Int

Direction constant for the bottom edge

static Int

Direction constant for the left edge

static Int

Direction constant for the right edge

static Int

Direction constant for the top edge

Public constructors

EdgeEffectFactory lets you customize the over-scroll edge effect for RecyclerViews.

Protected methods
open EdgeEffect
createEdgeEffect(@NonNull view: RecyclerView, direction: Int)

Create a new EdgeEffect for the provided direction.

Constants

DIRECTION_BOTTOM

static val DIRECTION_BOTTOM: Int

Direction constant for the bottom edge

Value: 3

DIRECTION_LEFT

static val DIRECTION_LEFT: Int

Direction constant for the left edge

Value: 0

DIRECTION_RIGHT

static val DIRECTION_RIGHT: Int

Direction constant for the right edge

Value: 2

DIRECTION_TOP

static val DIRECTION_TOP: Int

Direction constant for the top edge

Value: 1

Public constructors

<init>

EdgeEffectFactory()

EdgeEffectFactory lets you customize the over-scroll edge effect for RecyclerViews.

Protected methods

createEdgeEffect

@NonNull protected open fun createEdgeEffect(
    @NonNull view: RecyclerView,
    direction: Int
): EdgeEffect

Create a new EdgeEffect for the provided direction.