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
/
StaffItemsViewModel
Staff
Items
View
Model
android
class
StaffItemsViewModel
(
ssAppViewModel
:
SSAppViewModel
)
:
ViewModel
,
CanFavoriteStaff
(
source
)
Members
Constructors
Staff
Items
View
Model
Link copied to clipboard
android
constructor
(
ssAppViewModel
:
SSAppViewModel
)
Properties
is
Loading
More
Shop
Link copied to clipboard
android
val
isLoadingMoreShop
:
StateFlow
<
Boolean
>
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
>
order
Link copied to clipboard
android
val
order
:
StateFlow
<
Order
>
search
Condition
Link copied to clipboard
android
val
searchCondition
:
StateFlow
<
StaffSearchCondition
>
shop
Data
Link copied to clipboard
android
val
shopData
:
StateFlow
<
Result
<
SearchStaffShopData
>
?
>
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
Shops
Link copied to clipboard
android
fun
fetchShops
(
)
fetch
Staffs
More
Link copied to clipboard
android
fun
fetchStaffsMore
(
previousData
:
List
<
Int
>
)
get
Closeable
Link copied to clipboard
android
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
load
More
Shops
Link copied to clipboard
android
fun
loadMoreShops
(
previousShopList
:
List
<
Shop
>
)
reload
Staffs
Link copied to clipboard
android
fun
reloadStaffs
(
)
reload
Staffs
From
Pull
Refresh
Link copied to clipboard
android
fun
reloadStaffsFromPullRefresh
(
)
remove
Favorite
Staff
Link copied to clipboard
android
open
override
fun
removeFavoriteStaff
(
userId
:
Int
,
consumerUserCode
:
String
)
set
Order
Link copied to clipboard
android
fun
setOrder
(
order
:
Order
)
set
Search
Condition
Link copied to clipboard
android
fun
setSearchCondition
(
searchCondition
:
StaffSearchCondition
)