AtomSaver

interface AtomSaver<T>

Interface for saving and restoring values to a Bundle.

Currently, this restoration feature is designed specifically for the Android Platform.

Parameters

T

The type of the value to be saved and restored.

Functions

Link copied to clipboard
abstract fun restore(bundle: Bundle): T?

Restores a value from a Bundle.

Link copied to clipboard
abstract fun save(bundle: Bundle, value: T)

Saves a value to a Bundle.