Add configurable progress listener
See original GitHub issueI 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?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Updating ProgressBar using custom listener (interfaces)
I have a ProgressBar object in my View. This progress bar will be updated via a Listener, which will be written as a...
Read more >Custom Progress Bar in Android - DigitalOcean
Custom progress bar in android application gives it a personal touch. In this tutorial, we'll create a custom progress bar by implementing a ......
Read more >How to create a Custom Progress Bar - freeCodeCamp
For this we'll need to loop over all the .progress elements (in our example is only one, but you can add multiple ones...
Read more >React: How to create a custom progress bar component in 5 ...
Add styling. Just for the sake of this tutorial, for styling, I'm going to use pure inline CSS. Another option would be to...
Read more >Create custom Horizontal ProgressBar in android studio
Custom progress bar in android application gives it a personal touch. In This Video you will learn how you can create a custom...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We get this question from time to time - so I’ll mark as an enhancement to add such a listener to ExoPlayer. The main benefit of us implementing this callback is that we can better align it with certain media times (e.g. always send at at a full media second). This callback needs to be configurable for how often it’s called and at what playback rate (e.g. rate: every 500ms of media and/or every 2 seconds, or similar).
Thanks for explaining. That kind of problem would be solved by a listener provided by us.