added in version 27.1.0
belongs to Maven artifact com.android.support:recyclerview-v7:28.0.0-alpha1

RecyclerView.EdgeEffectFactory

public static class RecyclerView.EdgeEffectFactory
extends Object

java.lang.Object
   ↳ android.support.v7.widget.RecyclerView.EdgeEffectFactory


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

Summary

Nested classes

@interface RecyclerView.EdgeEffectFactory.EdgeDirection

 

Constants

int DIRECTION_BOTTOM

Direction constant for the bottom edge

int DIRECTION_LEFT

Direction constant for the left edge

int DIRECTION_RIGHT

Direction constant for the right edge

int DIRECTION_TOP

Direction constant for the top edge

Public constructors

RecyclerView.EdgeEffectFactory()

Protected methods

EdgeEffect createEdgeEffect(RecyclerView view, int direction)

Create a new EdgeEffect for the provided direction.

Inherited methods

From class java.lang.Object

Constants

DIRECTION_BOTTOM

added in version 27.1.0
int DIRECTION_BOTTOM

Direction constant for the bottom edge

Constant Value: 3 (0x00000003)

DIRECTION_LEFT

added in version 27.1.0
int DIRECTION_LEFT

Direction constant for the left edge

Constant Value: 0 (0x00000000)

DIRECTION_RIGHT

added in version 27.1.0
int DIRECTION_RIGHT

Direction constant for the right edge

Constant Value: 2 (0x00000002)

DIRECTION_TOP

added in version 27.1.0
int DIRECTION_TOP

Direction constant for the top edge

Constant Value: 1 (0x00000001)

Public constructors

RecyclerView.EdgeEffectFactory

added in version 27.1.0
RecyclerView.EdgeEffectFactory ()

Protected methods

createEdgeEffect

added in version 27.1.0
EdgeEffect createEdgeEffect (RecyclerView view, 
                int direction)

Create a new EdgeEffect for the provided direction.

Parameters
view RecyclerView

direction int

Returns
EdgeEffect