google / google/ExoPlayer

Add configurable progress listener

Open
#6,504 10 comments 0 reactions 1 assignee Claimed by @tonihei View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I already look in the code, documentation and search in stack overflow.
I see the `PlayerControlView` have `ProgressUpdateListener` interface which similar that what I need. But not sure how to use it or can even use it

I wanted to have a `player.currentPosition` listener for my player
But I'm not sure how to do it.

So far I just use `Handler()` and `Runnable()` to get the `currentPosition` but it is not accurate since the start of the `Runnable()` can be out of sync with the played video

Is there any kind of function or workaround for this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.