Package-level declarations
Functions
Link copied to clipboard
fun LabelRecommendSnapPlaysBlock(labelId: Int, labelName: String, onTapSnapPlay: (Int) -> Unit, onTapSnapPlayFilter: (SnapPlayFilterParams) -> Unit, onTapFavorite: (snapPlayId: Int, currentFavorite: Boolean) -> Unit, ssAppViewModel: SSAppViewModel = provideSSAppViewModel(), viewModel: LabelRecommendedSnapPlayItemsBlockViewModel = viewModel(key = labelId.toString()) {
LabelRecommendedSnapPlayItemsBlockViewModel(labelId, ssAppViewModel)
})
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StaffStartBaseProductSnapPlaysBlock(baseProductCode: String?, onTapSnapPlayDetail: (Int) -> Unit, onTapReadMore: (String?) -> Unit, viewModel: BaseProductSnapPlayItemsBlockViewModel = viewModel(key = baseProductCode))
任意のページの一部としてSnapPlay一覧を表示するBlock
Link copied to clipboard
fun UserNewArrivalSnapPlaysBlock(userId: Int, onTapSnapPlay: (Int) -> Unit, onTapMore: () -> Unit, onTapFavoriteSnapPlay: (snapPlayId: Int, currentFavorite: Boolean) -> Unit, ssAppViewModel: SSAppViewModel = provideSSAppViewModel(), viewModel: UserNewArrivalSnapPlayItemsBlockViewModel = viewModel(
key = userId.toString(),
) {
UserNewArrivalSnapPlayItemsBlockViewModel(userId, ssAppViewModel)
})
Link copied to clipboard
fun UserRecommendedSnapPlaysBlock(userId: Int, userName: String, onTapSnapPlay: (Int) -> Unit, onTapMore: () -> Unit, onTapFavoriteSnapPlay: (snapPlayId: Int, currentFavorite: Boolean) -> Unit, ssAppViewModel: SSAppViewModel = provideSSAppViewModel(), viewModel: UserRecommendedSnapPlayItemsBlockViewModel = viewModel(
key = userId.toString(),
) {
UserRecommendedSnapPlayItemsBlockViewModel(userId, ssAppViewModel)
})