iielse / imageviewer

A simple and customizable Android full-screen image viewer 一个简单且可自定义的Android全屏图像浏览器

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlayerControlView显示隐藏不更新进度问题

SoloLee opened this issue · comments

hello,
有这么一个问题,是关于Exoplayer的问题。
关联了控制进度条控件
playerControlView?.player = videoView?.player()
设置2秒后隐藏
playerControlView?.showTimeoutMs = 2000

重新点击屏幕显示playerControlView后,只是设置了visibility的 View.VISIBLE和GONE,时长进度条不更新了。
请问这个该怎么处理?

直接使用playerControlView?.show()和playerControlView?.hide()进行显隐操作,不用visibility,就ok。