public interface

PagedListView.ItemPositionOffset

 androidx.car.widget.PagedListView.ItemPositionOffset

Overview

Interface for a 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

Methods
public voidsetPositionOffset(int positionOffset)

Sets the position offset for the adapter.

Methods

public void setPositionOffset(int positionOffset)

Sets the position offset for the adapter.