eneim / toro

Video list auto playback made simple, specially built for RecyclerView
Apache License 2.0
1.41k stars 253 forks source link

com.google.android.exoplayer2.video.VideoListener was removed in ExoPlayer 2.16.0, making this library incompatible #505

Open sal0max opened 2 years ago

sal0max commented 2 years ago

What kind of issue is this?

im.ene.toro.exoplayer.Playable imports and uses com.google.android.exoplayer2.video.VideoListener (link), which was removed in ExoPlayer 2.16.0 (see changelog)

In order for this library to work again, you need to follow this advice:

Remove SimpleExoPlayer.addVideoListener, removeVideoListener and VideoListener. Use Player.addListener and Player.Listener instead.

manumuuv commented 2 years ago

Any update on this? Did you find any solution to this issue? ExoPlayer 2.16.0+ is needed to target Android 12+, otherwise, the app will crash, so I think toro should support ExoPlayer version: >= 2.16.0 asap.

BenCherif commented 1 year ago

Any update on this?