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
/
FavoriteStaffItemsViewModel
Favorite
Staff
Items
View
Model
android
class
FavoriteStaffItemsViewModel
(
ssAppViewModel
:
SSAppViewModel
)
:
ViewModel
,
CanFavoriteStaff
(
source
)
Members
Constructors
Favorite
Staff
Items
View
Model
Link copied to clipboard
android
constructor
(
ssAppViewModel
:
SSAppViewModel
)
Properties
customer
User
Code
Link copied to clipboard
android
val
customerUserCode
:
StateFlow
<
String
?
>
is
Loading
Staffs
More
Link copied to clipboard
android
val
isLoadingStaffsMore
:
StateFlow
<
Boolean
>
is
Pull
Refreshing
Link copied to clipboard
android
val
isPullRefreshing
:
StateFlow
<
Boolean
>
staff
Ids
Data
Link copied to clipboard
android
val
staffIdsData
:
StateFlow
<
Result
<
StaffIdsData
>
?
>
Functions
add
Closeable
Link copied to clipboard
android
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
add
Favorite
Staff
Link copied to clipboard
android
open
override
fun
addFavoriteStaff
(
userId
:
Int
,
consumerUserCode
:
String
)
fetch
Staffs
More
Link copied to clipboard
android
fun
fetchStaffsMore
(
consumerUserCode
:
String
,
previousData
:
List
<
Int
>
)
get
Closeable
Link copied to clipboard
android
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
reload
From
Pull
Refresh
Link copied to clipboard
android
fun
reloadFromPullRefresh
(
consumerUserCode
:
String
)
remove
Favorite
Staff
Link copied to clipboard
android
open
override
fun
removeFavoriteStaff
(
userId
:
Int
,
consumerUserCode
:
String
)