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
/
SnapPlayListViewModel
Snap
Play
List
View
Model
android
class
SnapPlayListViewModel
:
ViewModel
(
source
)
Members
Constructors
Snap
Play
List
View
Model
Link copied to clipboard
android
constructor
(
)
Properties
base
Product
Code
Link copied to clipboard
android
val
baseProductCode
:
StateFlow
<
String
?
>
is
Initialized
Link copied to clipboard
android
val
isInitialized
:
StateFlow
<
Boolean
>
is
Loading
Snap
Plays
More
Link copied to clipboard
android
val
isLoadingSnapPlaysMore
:
StateFlow
<
Boolean
>
is
Loading
Snap
Plays
Pull
Refresh
Link copied to clipboard
android
val
isLoadingSnapPlaysPullRefresh
:
StateFlow
<
Boolean
>
order
Link copied to clipboard
android
val
order
:
StateFlow
<
Order
>
selected
Label
Ids
Link copied to clipboard
android
val
selectedLabelIds
:
StateFlow
<
Set
<
Int
>
>
snap
Plays
Data
Link copied to clipboard
android
val
snapPlaysData
:
StateFlow
<
Result
<
SnapPlayData
>
?
>
Functions
add
Closeable
Link copied to clipboard
android
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
add
Selected
Label
Id
If
Needed
Link copied to clipboard
android
fun
addSelectedLabelIdIfNeeded
(
labelId
:
Int
?
)
clear
Select
Label
Link copied to clipboard
android
fun
clearSelectLabel
(
)
fetch
Snap
Plays
More
Link copied to clipboard
android
fun
fetchSnapPlaysMore
(
previousData
:
List
<
SnapPlay
>
)
fetch
Snap
Plays
With
Refresh
Link copied to clipboard
android
fun
fetchSnapPlaysWithRefresh
(
)
get
Closeable
Link copied to clipboard
android
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
initial
Fetch
Again
Link copied to clipboard
android
fun
initialFetchAgain
(
)
initial
Fetch
Snap
Plays
Link copied to clipboard
android
fun
initialFetchSnapPlays
(
snapPlayFilterParams
:
SnapPlayFilterParams
)
set
Base
Product
Code
Link copied to clipboard
android
fun
setBaseProductCode
(
baseProductCode
:
String
?
)
set
Order
And
Refresh
Link copied to clipboard
android
fun
setOrderAndRefresh
(
order
:
Order
)
toggle
Select
Link copied to clipboard
android
fun
toggleSelect
(
labelId
:
Int
)