Screen

actual interface Screen : Parcelable(source)

Inheritors

expect interface Screen(source)

Represents an individual screen, used as a key for Presenter.Factory and Ui.Factory.

Screens can be simple sentinel data object types or data classes with information to share. Screens with information should contain the minimum amount of data needed for the target presenter to begin presenting state.

data class AddFavorites(
val externalId: UUID,
) : Screen

Screens are then passed into a Navigator to navigate to them.

fun showAddFavorites() {
navigator.goTo(
AddFavorites(
externalId = uuidGenerator.generate()
)
)
}

Inheritors

actual interface Screen(source)

Inheritors

actual interface Screen(source)

Inheritors

actual interface Screen(source)

Inheritors

actual interface Screen(source)

Inheritors

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)