eneim / toro

Video list auto playback made simple, specially built for RecyclerView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sal0max opened this issue · comments

What kind of issue is this?

  • Bug report. If so, please supply the way to reproduce the issue, including addition information as follow:
    • Toro version: 3.7.0.2010003
    • ExoPlayer version: >= 2.16.0

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.

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.

Any update on this?