Skip to content

Commit

Permalink
Fix type parameter inference
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenzeck committed Oct 4, 2024
1 parent 91ebc49 commit 753ce94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public class ExoPlayerEngine private constructor(

private suspend fun prepareExoPlayer(player: ExoPlayer) {
lateinit var listener: Player.Listener
suspendCancellableCoroutine { continuation ->
suspendCancellableCoroutine<Unit> { continuation ->
listener = object : Player.Listener {
override fun onPlaybackStateChanged(playbackState: Int) {
when (playbackState) {
Expand Down

0 comments on commit 753ce94

Please sign in to comment.