Commit 64b4ba26 authored by jyx's avatar jyx

代码优化

parent 129d7851
......@@ -138,7 +138,7 @@ class DramaApiDetailActivity : BaseActivity(), VideoEpisodeAdapter.OnEpisodeClic
} else {
episode_tv.text = String.format("共%d集 更新中", it.total)
}
info_tv.text = String.format("第%d集", it.index + 1)
info_tv.text = String.format("第%d集", mVedioBean!!.seeIndex)
unlock.text = String.format("看广告解锁%d集", lockSet)
if (mVedioBean!!.collect == 0) {
setCollectImage(zan_iv)
......
......@@ -203,7 +203,7 @@ class DramaTabFragment : BaseFragment(), VideoView {
override fun onDPVideoCompletion(map: Map<String, Any>) {
Log.d(TAG, "onDPVideoCompletion: $map")
// dpWidget?.fragment?.onPause()
// dpWidget?.pauseForWatchTogether()
// videoPresenter.getIndexList("" + map["drama_id"], true)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment