Skip to content

Instantly share code, notes, and snippets.

@rubenquadros
Created September 4, 2021 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubenquadros/4c198c51c78369693d97f67357ad64b3 to your computer and use it in GitHub Desktop.
Save rubenquadros/4c198c51c78369693d97f67357ad64b3 to your computer and use it in GitHub Desktop.
Initial game videos screen
@Composable
fun ShowGameVideos(gameVideos: GameVideosEntity) {
Column(modifier = Modifier.fillMaxSize()) {
// video player
VideoPlayer(
modifier =
Modifier.fillMaxWidth()
.weight(1f, fill = true)
.background(Color.Black)
)
// video playlist
VideoPlayList(
Modifier.fillMaxWidth()
.weight(1f, fill = true)
.background(Color.Gray)
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment