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
/
SnapPlayItemsViewModel
Snap
Play
Items
View
Model
android
class
SnapPlayItemsViewModel
(
ssAppViewModel
:
SSAppViewModel
)
:
ViewModel
,
CanFavoriteSnapPlay
(
source
)
Members
Constructors
Snap
Play
Items
View
Model
Link copied to clipboard
android
constructor
(
ssAppViewModel
:
SSAppViewModel
)
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
More
Shop
Link copied to clipboard
android
val
isLoadingMoreShop
:
StateFlow
<
Boolean
>
is
Loading
Snap
Plays
More
Link copied to clipboard
android
val
isLoadingSnapPlaysMore
:
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
<
SnapPlaySearchCondition
>
shop
Data
Link copied to clipboard
android
val
shopData
:
StateFlow
<
Result
<
SearchStaffShopData
>
?
>
snap
Play
Id
List
Result
Link copied to clipboard
android
val
snapPlayIdListResult
:
StateFlow
<
Result
<
SnapPlayIdsData
>
?
>
Functions
add
Closeable
Link copied to clipboard
android
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
add
Favorite
Snap
Play
Link copied to clipboard
android
open
override
fun
addFavoriteSnapPlay
(
snapPlayId
:
Int
,
consumerUserCode
:
String
)
fetch
Shops
Link copied to clipboard
android
fun
fetchShops
(
)
fetch
Snap
Plays
From
Pull
Refresh
Link copied to clipboard
android
fun
fetchSnapPlaysFromPullRefresh
(
)
fetch
Snap
Plays
More
Link copied to clipboard
android
fun
fetchSnapPlaysMore
(
previousData
:
List
<
Int
>
)
get
Closeable
Link copied to clipboard
android
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
initial
Fetch
Snap
Plays
With
Link copied to clipboard
android
fun
initialFetchSnapPlaysWith
(
snapPlayFilterParams
:
SnapPlayFilterParams
)
load
More
Shops
Link copied to clipboard
android
fun
loadMoreShops
(
previousShopList
:
List
<
Shop
>
)
make
Keyword
Link copied to clipboard
android
fun
makeKeyword
(
keyword
:
String
)
:
List
<
String
>
?
reload
Snap
Plays
Link copied to clipboard
android
fun
reloadSnapPlays
(
)
remove
Favorite
Snap
Play
Link copied to clipboard
android
open
override
fun
removeFavoriteSnapPlay
(
snapPlayId
:
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
:
SnapPlaySearchCondition
)