bilibili-android-client icon indicating copy to clipboard operation
bilibili-android-client copied to clipboard

请教下VideoPlayerView 中的 currentState 和 targetState 分别代表什么?有点没看懂

Open MUFCRyan opened this issue 8 years ago • 2 comments

MUFCRyan avatar Jul 10 '17 09:07 MUFCRyan

@MUFCRyan 说实话,我都忘记是什么意思了,很久之前写的了 - -!

HotBitmapGG avatar Jul 13 '17 00:07 HotBitmapGG

currentState表示当前的状态,targetState表示要做的状态,是这个意思不…… 举个例子,onPrepared中currentState是STATE_PREPARED,任务是播放视频,所以targetState就是STATE_PLAYING。

lwlizhe avatar Jul 28 '17 07:07 lwlizhe