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

AdjacentItems

{% setvar page_path %}androidx/paging/AdjacentItems.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_kotlin_switcher2.md" %}

data class AdjacentItems<T : Any?>


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

Summary

Public properties

T?
T?

Public constructors

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

Public properties

after

val after: T?

before

val before: T?

Public constructors

AdjacentItems

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