computeHorizontalScrollOffset

open fun computeHorizontalScrollOffset(@NonNull state: @NonNull RecyclerView.State): Int

Override this method if you want to support scroll bars.

Read computeHorizontalScrollOffset for details.

Default implementation returns 0.

Return

The horizontal offset of the scrollbar's thumb

Parameters

state

Current State of RecyclerView where you can find total item count

See also