Created
March 16, 2022 19:05
-
-
Save akitikkx/3992248952d3587ab79978ee70e77044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ExperimentalMaterialApi | |
@Composable | |
fun DetailArea( | |
... | |
modalBottomSheetState: ModalBottomSheetState | |
) { | |
... | |
val coroutineScope = rememberCoroutineScope() | |
Column(...) { | |
... | |
showCast?.let { | |
if (it.isNotEmpty()) { | |
ShowCastList(it) { showCastItem -> | |
coroutineScope.launch { | |
modalBottomSheetState.show() | |
} | |
onCastItemClick(showCastItem) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment