toggle menu
snabble Android SDK API Documentation
androidJvm
switch theme
search in API
ui
/
io.snabble.sdk.ui.cart.shoppingcart
/
ShoppingCartViewModel
Shopping
Cart
View
Model
class
ShoppingCartViewModel
:
ViewModel
Members
Constructors
Shopping
Cart
View
Model
Link copied to clipboard
constructor
(
)
Properties
ui
State
Link copied to clipboard
val
uiState
:
StateFlow
<
UiState
>
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
Event
Link copied to clipboard
fun
onEvent
(
event
:
Event
)
update
Cart
Link copied to clipboard
fun
updateCart
(
)