computeVerticalScrollOffset

Compute the vertical offset of the vertical scrollbar's thumb within the vertical 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 computeVerticalScrollRange and computeVerticalScrollExtent.

Default implementation returns 0.

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

Return

The vertical offset of the scrollbar's thumb

See also

(RecyclerView.State)