Data

data class Data<T : Any>(val pagedData: PagedData<T>, val buttons: Feed.Buttons? = null, val background: ImageHolder? = null)

Represents the loaded data of the Feed.

Constructors

Link copied to clipboard
constructor(pagedData: PagedData<T>, buttons: Feed.Buttons? = null, background: ImageHolder? = null)

Properties

Link copied to clipboard
val background: ImageHolder? = null

The ImageHolder to be used as the background of the feed. If null, the background will be decided automatically.

Link copied to clipboard
val buttons: Feed.Buttons? = null

The Buttons to be shown in the feed. If null, the buttons will be decided automatically.

Link copied to clipboard

The PagedData containing the items for the feed.