ParcelableScreen

A Screen that is also android.os.Parcelable on Android.

Use this for common-code screens that persist via Parcelable on android, since common code cannot reference android.os.Parcelable directly. On all other platforms this is just a Screen.

@Parcelize // Or your own `@CommonParcelize` annotation
data class AddFavorites(val externalId: UUID) : ParcelableScreen

A Screen that is also android.os.Parcelable on Android.

Use this for common-code screens that persist via Parcelable on android, since common code cannot reference android.os.Parcelable directly. On all other platforms this is just a Screen.

@Parcelize // Or your own `@CommonParcelize` annotation
data class AddFavorites(val externalId: UUID) : ParcelableScreen

A Screen that is also android.os.Parcelable on Android.

Use this for common-code screens that persist via Parcelable on android, since common code cannot reference android.os.Parcelable directly. On all other platforms this is just a Screen.

@Parcelize // Or your own `@CommonParcelize` annotation
data class AddFavorites(val externalId: UUID) : ParcelableScreen

A Screen that is also android.os.Parcelable on Android.

Use this for common-code screens that persist via Parcelable on android, since common code cannot reference android.os.Parcelable directly. On all other platforms this is just a Screen.

@Parcelize // Or your own `@CommonParcelize` annotation
data class AddFavorites(val externalId: UUID) : ParcelableScreen

A Screen that is also android.os.Parcelable on Android.

Use this for common-code screens that persist via Parcelable on android, since common code cannot reference android.os.Parcelable directly. On all other platforms this is just a Screen.

@Parcelize // Or your own `@CommonParcelize` annotation
data class AddFavorites(val externalId: UUID) : ParcelableScreen

Functions

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