Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
interface AtomSelector
Interface for retrieving the value associated with the Atoms reference key.
Link copied to clipboard
An interface for storing and retrieving atoms.
Functions
Link copied to clipboard
inline fun <T : Parcelable> atom(initialValue: T, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<T>
Creates an Atom using AtomSaverKey for Parcelable.
inline fun <T : Serializable> atom(initialValue: T, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<T>
Creates an Atom using AtomSaverKey for Serializable.
inline fun <T : Parcelable> atom(initialValue: ArrayList<T>, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<ArrayList<T>>
Creates an Atom using AtomSaverKey for ArrayList with Parcelable.
inline fun <T : Parcelable> atom(initialValue: Array<T>, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<Array<T>>
Creates an Atom using AtomSaverKey for Array with Parcelable.
Creates an Atom using AtomSaverKey.
Creates an Atom.
inline fun atom(initialValue: Bundle, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<Bundle>
inline fun <T> atom(initialValue: Array<T>, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<Array<T>>
inline fun atom(initialValue: BooleanArray, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<BooleanArray>
inline fun atom(initialValue: ByteArray, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<ByteArray>
inline fun atom(initialValue: CharArray, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<CharArray>
inline fun atom(initialValue: DoubleArray, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<DoubleArray>
inline fun atom(initialValue: FloatArray, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<FloatArray>
inline fun atom(initialValue: IntArray, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<IntArray>
inline fun atom(initialValue: LongArray, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<LongArray>
inline fun atom(initialValue: ShortArray, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<ShortArray>
inline fun <T> atom(initialValue: ArrayList<T>, saverKey: AtomSaverKey, scope: AtomScope? = null): Atom<ArrayList<T>>
Creates an Atom using AtomSaverKey for ArrayList.
Link copied to clipboard
@ExperimentalSerializationApi
Create an AtomSaver for Kotlin Serialization.