PagedListView.ItemPositionOffset

public static interface PagedListView.ItemPositionOffset

androidx.car.widget.PagedListView.ItemPositionOffset


Interface for a RecyclerView.Adapter to set the position offset for the adapter to load the data.

For example in the adapter, if the positionOffset is 20, then for position 0 it will show the item in position 20 instead, for position 1 it will show the item in position 21 instead and so on.

Summary

Public methods

abstract void setPositionOffset(int positionOffset)

Sets the position offset for the adapter.

Public methods

setPositionOffset

public abstract void setPositionOffset (int positionOffset)

Sets the position offset for the adapter.

Parameters
positionOffset int