public interface

PagedListView.DividerVisibilityManager

 androidx.car.widget.PagedListView.DividerVisibilityManager

Subclasses:

ListItemAdapter

Overview

Interface for controlling visibility of item dividers for individual items based on the item's position.

NOTE: interface takes effect only when dividers are enabled.

Summary

Methods
public booleangetShowDivider(int position)

Given an item position, returns whether the divider below that item should be shown.

Methods

public boolean getShowDivider(int position)

Given an item position, returns whether the divider below that item should be shown.

Parameters:

position: item position inside the adapter.

Returns:

true if divider is to be shown; false if hidden.