public class

RecyclerView.EdgeEffectFactory

extends java.lang.Object

 java.lang.Object

↳androidx.recyclerview.widget.RecyclerView.EdgeEffectFactory

Overview

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

Summary

Fields
public static final intDIRECTION_BOTTOM

Direction constant for the bottom edge

public static final intDIRECTION_LEFT

Direction constant for the left edge

public static final intDIRECTION_RIGHT

Direction constant for the right edge

public static final intDIRECTION_TOP

Direction constant for the top edge

Constructors
publicEdgeEffectFactory()

Methods
protected EdgeEffectcreateEdgeEffect(RecyclerView view, int direction)

Create a new EdgeEffect for the provided direction.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int DIRECTION_LEFT

Direction constant for the left edge

public static final int DIRECTION_TOP

Direction constant for the top edge

public static final int DIRECTION_RIGHT

Direction constant for the right edge

public static final int DIRECTION_BOTTOM

Direction constant for the bottom edge

Constructors

public EdgeEffectFactory()

Methods

protected EdgeEffect createEdgeEffect(RecyclerView view, int direction)

Create a new EdgeEffect for the provided direction.