android-coroutines / nl.adaptivity.android.kryo / KryoParcelable

KryoParcelable

class KryoParcelable<out T : Any> : Parcelable

A Parcelable that can be stored using Kryo. For now it is hardcoded to use the Kryo object created by kryoAndroid.

Constructors

<init>

KryoParcelable(data: T)

A Parcelable that can be stored using Kryo. For now it is hardcoded to use the Kryo object created by kryoAndroid.

Properties

data

val data: T

Functions

describeContents

fun describeContents(): Int

writeToParcel

fun writeToParcel(dest: Parcel, flags: Int): Unit

Companion Object Functions

createFromParcel

fun createFromParcel(parcel: Parcel): KryoParcelable<Any>

newArray

fun newArray(size: Int): Array<KryoParcelable<Any>?>