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
fun SnapPlayHorizontalCell(snapPlayItemUiState: SnapPlayItemUiState, onTapSnapPlay: (Int) -> Unit, onTapFavorite: () -> Unit)
Link copied to clipboard
fun StaffHorizontalCell(staffItemUiState: StaffItemUiState, onTapStaff: (Int) -> Unit, onTapFavorite: () -> Unit)
Link copied to clipboard
fun StaffStartBaseProductSnapPlaysBlock(baseProductCode: String?, onTapSnapPlayDetail: (Int) -> Unit, onTapReadMore: (String?) -> Unit, onFavoriteAttemptWithoutLogin: () -> Unit = {}, sectionTitle: String = "この商品を使ったコーディネート", ssAppViewModel: SSAppViewModel = provideSSAppViewModel(), viewModel: BaseProductSnapPlayItemsBlockViewModel = viewModel(key = baseProductCode) {
BaseProductSnapPlayItemsBlockViewModel(
ssAppViewModel,
baseProductCode,
)
})
任意のページの一部としてSnapPlay一覧を表示するBlock
Link copied to clipboard
fun StaffStartBrandSnapPlaysBlock(conditions: BrandSnapPlaysBlockCondition, onTapSnapPlay: (snapPlayId: Int) -> Unit, onFavoriteAttemptWithoutLogin: () -> Unit = {}, ssAppViewModel: SSAppViewModel = provideSSAppViewModel(), viewModel: BrandSnapPlaysBlockViewModel = viewModel(key = conditions.conditionsUniqueKey()) {
BrandSnapPlaysBlockViewModel(
ssAppViewModel,
conditions.toSnapPlaySearchCondition(),
sort = conditions.order.sortOrder,
)
})
任意のブランドページの一部としてSnapPlay一覧を表示するBlock
Link copied to clipboard
fun StaffStartBrandStaffsBlock(conditions: BrandStaffsBlockConditions, onTapStaff: (userId: Int) -> Unit, onFavoriteAttemptWithoutLogin: () -> Unit = {}, ssAppViewModel: SSAppViewModel = provideSSAppViewModel(), viewModel: BrandStaffsBlockViewModel = viewModel(key = conditions.conditionsUniqueKey()) {
BrandStaffsBlockViewModel(
ssAppViewModel,
conditions,
)
})
任意のブランドページの一部として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)
})