toggle menu
soil
1.0.0-alpha07
common
switch theme
search in API
soil-space
/
soil.space.compose
/
AtomViewModel
Atom
View
Model
class
AtomViewModel
(
handle
:
SavedStateHandle
)
:
ViewModel
A
ViewModel
for managing
AtomStore
.
Parameters
handle
The
SavedStateHandle
to save the state of the
AtomStore
.
Members
Constructors
Atom
View
Model
Link copied to clipboard
constructor
(
handle
:
SavedStateHandle
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
store
Link copied to clipboard
val
store
:
AtomStore
Functions
add
Closeable
Link copied to clipboard
expect
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
expect
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
expect
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?