{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

OverscrollConfiguration

@ExperimentalFoundationApi
public final class OverscrollConfiguration


Metadata for overscroll effects for android platform.

Summary

Public constructors

OverscrollConfiguration(
    @NonNull Color glowColor,
    @NonNull PaddingValues drawPadding
)

Public methods

boolean
equals(Object other)
final @NonNull PaddingValues

the amount of padding to apply from scrollable container bounds to effect before drawing it

final @NonNull Color

color for the glow effect, if the platform effect is a glow effect, otherwise ignored.

int
@NonNull String

Public constructors

OverscrollConfiguration

public OverscrollConfiguration(
    @NonNull Color glowColor,
    @NonNull PaddingValues drawPadding
)
Parameters
@NonNull Color glowColor

color for the glow effect, if the platform effect is a glow effect, otherwise ignored.

@NonNull PaddingValues drawPadding

the amount of padding to apply from scrollable container bounds to effect before drawing it

Public methods

equals

public boolean equals(Object other)

getDrawPadding

public final @NonNull PaddingValues getDrawPadding()

the amount of padding to apply from scrollable container bounds to effect before drawing it

getGlowColor

public final @NonNull Color getGlowColor()

color for the glow effect, if the platform effect is a glow effect, otherwise ignored.

hashCode

public int hashCode()

toString

public @NonNull String toString()