Slide 45
Slide 45 text
© ZOZO, Inc.
45
class CoordinateImageView @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyle: Int = 0
) : AbstractComposeView(context, attrs, defStyle) {
var coordinate by mutableStateOf(null)
var coordinateItems = mutableStateListOf()
@Composable
override fun Content() {
FaansTheme {
CoordinateImage(coordinate, coordinateItems)
}
}
}
@Composable
fun CoordinateImage(
coordinate: CoordinateDetail?,
coordinateItems: List,
) {...}