Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adding scroll behaviour to game details screen
@Composable
fun GameDetails(
gameDetails: GameDetailsEntity,
openGameTrailer: () -> Unit
) {
val scrollState = rememberScrollState()
Column(
modifier =
Modifier.fillMaxSize()
.verticalScroll(scrollState)
) {
// column children as above code snippet
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment