Skip to content

Instantly share code, notes, and snippets.

@shkcodes
Created July 17, 2021 08:04
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 shkcodes/2345b52ffdf02048941c674398bdbe72 to your computer and use it in GitHub Desktop.
Save shkcodes/2345b52ffdf02048941c674398bdbe72 to your computer and use it in GitHub Desktop.
val context = LocalContext.current
val exoPlayer = remember {
SimpleExoPlayer.Builder(context).build().apply {
repeatMode = Player.REPEAT_MODE_ALL
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment