FavoriteStaffItemsViewModel

Constructors

Link copied to clipboard
constructor(ssAppViewModel: SSAppViewModel)

Properties

Link copied to clipboard
val customerUserCode: StateFlow<String?>
Link copied to clipboard
Link copied to clipboard
val isPullRefreshing: StateFlow<Boolean>
Link copied to clipboard
val staffIdsData: StateFlow<Result<StaffIdsData>?>

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
open override fun addFavoriteStaff(userId: Int, consumerUserCode: String)
Link copied to clipboard
fun fetchStaffsMore(consumerUserCode: String, previousData: List<Int>)
Link copied to clipboard
Link copied to clipboard
fun reloadFromPullRefresh(consumerUserCode: String)
Link copied to clipboard
open override fun removeFavoriteStaff(userId: Int, consumerUserCode: String)