StaffStartBrandStaffsBlock

fun StaffStartBrandStaffsBlock(conditions: BrandStaffsBlockConditions, useDarkTheme: Boolean = false, onTapStaff: (userId: Int) -> Unit, onFavoriteAttemptWithoutLogin: () -> Unit = {}, ssAppViewModel: SSAppViewModel = provideSSAppViewModel(), viewModel: BrandStaffsBlockViewModel = viewModel(key = conditions.conditionsUniqueKey()) { BrandStaffsBlockViewModel( ssAppViewModel, conditions, ) })(source)

任意のブランドページの一部としてSnapPlay一覧を表示するBlock

Parameters

conditions

表示するSnapPlayの検索条件

useDarkTheme

Optional

onTapStaff

Staffタップ時のコールバック

onFavoriteAttemptWithoutLogin

ログインしていない状態でお気に入り操作をした時のコールバック

使用例

StaffStartBrandStaffsBlock(
conditions = BrandStaffsBlockConditions(
labelId = labelId,
gender = Gender.FEMALE,
order = Order.NEW_ARRIVAL,
),
useDarkTheme = isSystemInDarkTheme(),
onTapStaff = { userId ->
// Staffタップ時の処理
},
onFavoriteAttemptWithoutLogin = { baseProductCode ->
// ログインを促す処理
}
)