staffstart-android-sdk
Toggle table of contents
android
Platform filter
android
Switch theme
Search in API
staffstart-android-sdk
staffstart-app
/
com.vanish.standard.staffstart.app.viewmodel
/
SSAppViewModel
SSApp
View
Model
android
class
SSAppViewModel
:
ViewModel
(
source
)
Members
Constructors
SSApp
View
Model
Link copied to clipboard
android
constructor
(
)
Properties
labels
Result
Link copied to clipboard
android
val
labelsResult
:
StateFlow
<
Result
<
List
<
Label
>
>
?
>
popular
Tags
Result
Link copied to clipboard
android
val
popularTagsResult
:
StateFlow
<
Result
<
PopularTags
>
?
>
product
Category
Result
Link copied to clipboard
android
val
productCategoryResult
:
StateFlow
<
Result
<
ProductCategories
>
?
>
refresh
Trigger
Link copied to clipboard
android
val
refreshTrigger
:
SharedFlow
<
Unit
>
Functions
add
Closeable
Link copied to clipboard
android
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
fetch
Labels
Link copied to clipboard
android
suspend
fun
fetchLabels
(
)
fetch
Product
Category
Again
Link copied to clipboard
android
fun
fetchProductCategoryAgain
(
)
fetch
Tags
Again
Link copied to clipboard
android
fun
fetchTagsAgain
(
)
get
Closeable
Link copied to clipboard
android
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
get
Label
Link copied to clipboard
android
fun
getLabel
(
labelId
:
Int
)
:
Label
?
get
Labels
Link copied to clipboard
android
fun
getLabels
(
labelIds
:
Set
<
Int
>
)
:
List
<
Label
>
refresh
Link copied to clipboard
android
fun
refresh
(
)