RecyclerView.EdgeEffectFactory

public static class RecyclerView.EdgeEffectFactory
extends Object

java.lang.Object
   ↳ androidx.recyclerview.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

EdgeEffectFactory()

Protected methods

EdgeEffect createEdgeEffect(RecyclerView view, int direction)

Create a new EdgeEffect for the provided direction.

Inherited methods

Constants

DIRECTION_BOTTOM

public static final int DIRECTION_BOTTOM

Direction constant for the bottom edge

Constant Value: 3 (0x00000003)