SmoothScrollAlignmentType

Entries

Link copied to clipboard

Use the layout manager's default smooth scrolling, needed for backwards compatibility because certain layout managers implement their own smooth scrolling

Link copied to clipboard

Default alias to LinearSmoothScroller.SNAP_TO_ANY, align child top edge to viewport top or bottom edge based on which one is closer

Link copied to clipboard

Default alias to LinearSmoothScroller.SNAP_TO_START, align child top edge to viewport top edge

Link copied to clipboard

Default alias to LinearSmoothScroller.SNAP_TO_END, align child top edge to viewport bottom edge

Link copied to clipboard

Scroll the selected position to the center of the RecyclerView.

Properties

Link copied to clipboard
open val value: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.