computeHorizontalScrollOffset

Compute the horizontal offset of the horizontal scrollbar's thumb within the horizontal range. This value is used to compute the position of the thumb within the scrollbar's track.

The range is expressed in arbitrary units that must be the same as the units used by computeHorizontalScrollRange and computeHorizontalScrollExtent.

Default implementation returns 0.

If you want to support scroll bars, override computeHorizontalScrollOffset in your LayoutManager.

Return

The horizontal offset of the scrollbar's thumb

See also

(RecyclerView.State)