Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

Gutter

class Gutter
androidx.car.widget.PagedListView.Gutter

The possible values for @{link #setGutter}. The default value is actually Gutter#BOTH.

Summary

Constants
static Int

No gutter on either side of the list items.

static Int

Include a gutter only on the start side (that is, the same side as the scroll bar).

static Int

Include a gutter only on the end side (that is, the opposite side of the scroll bar).

static Int

Include a gutter on both sides of the list items.

Public constructors

The possible values for @{link #setGutter}.

Constants

NONE

static val NONE: Int

No gutter on either side of the list items. The items will span the full width of the PagedListView, but will not overlap the scroll bar.

Value: 0

START

static val START: Int

Include a gutter only on the start side (that is, the same side as the scroll bar).

Value: 1

END

static val END: Int

Include a gutter only on the end side (that is, the opposite side of the scroll bar).

Value: 2

BOTH

static val BOTH: Int

Include a gutter on both sides of the list items. This is the default behavior.

Value: 3

Public constructors

<init>

Gutter()

The possible values for @{link #setGutter}. The default value is actually Gutter#BOTH.