AtomViewModel

A ViewModel for managing AtomStore.

Parameters

handle

The SavedStateHandle to save the state of the AtomStore.

Constructors

Link copied to clipboard
constructor(handle: SavedStateHandle)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
expect open fun addCloseable(closeable: AutoCloseable)
expect fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
expect fun <T : AutoCloseable> getCloseable(key: String): T?