{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

AdjacentItems

data class AdjacentItems<T : Any?>


Represents a pair of adjacent items, null values are used to signal boundary conditions.

Summary

Public constructors

<T : Any?> AdjacentItems(before: T?, after: T?)

Public properties

T?
T?

Public constructors

AdjacentItems

<T : Any?> AdjacentItems(before: T?, after: T?)

Public properties

after

val after: T?

before

val before: T?