toggle menu
Spezi Documentation
androidJvm
switch theme
search in API
app
/
edu.stanford.bdh.engagehf.medication.ui
/
MedicationViewModel
Medication
View
Model
class
MedicationViewModel
:
ViewModel
Members
Types
Action
Link copied to clipboard
interface
Action
Section
Link copied to clipboard
enum
Section
:
Enum
<
MedicationViewModel.Section
>
Properties
ui
State
Link copied to clipboard
val
uiState
:
StateFlow
<
MedicationUiState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
on
Action
Link copied to clipboard
fun
onAction
(
action
:
MedicationViewModel.Action
)