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 | |
---|---|
<init>() 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
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.