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
/
StaffListViewModel
Staff
List
View
Model
android
class
StaffListViewModel
:
ViewModel
(
source
)
Members
Constructors
Staff
List
View
Model
Link copied to clipboard
android
constructor
(
)
Properties
is
Loading
More
Link copied to clipboard
android
val
isLoadingMore
:
StateFlow
<
Boolean
>
is
Refreshing
Link copied to clipboard
android
val
isRefreshing
:
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
>
>
staff
Data
Link copied to clipboard
android
val
staffData
:
StateFlow
<
Result
<
StaffData
>
?
>
Functions
add
Closeable
Link copied to clipboard
android
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
clear
Select
Label
Link copied to clipboard
android
fun
clearSelectLabel
(
)
fetch
Staff
List
More
Link copied to clipboard
android
fun
fetchStaffListMore
(
previousData
:
List
<
StaffListItem
>
)
fetch
Staff
List
With
Refresh
Link copied to clipboard
android
fun
fetchStaffListWithRefresh
(
)
get
Closeable
Link copied to clipboard
android
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
initial
Fetch
Link copied to clipboard
android
fun
initialFetch
(
)
set
Order
And
Refresh
Link copied to clipboard
android
fun
setOrderAndRefresh
(
order
:
Order
)
toggle
Select
Label
Id
Link copied to clipboard
android
fun
toggleSelectLabelId
(
labelId
:
Int
)