Commit 4f92d9c6 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 1f195dc0
......@@ -371,6 +371,7 @@ class VideoActivity : BaseActivity(), View.OnClickListener, VideoView,
private fun showVipCountDialog(position: Int) {
if (isFinishing) return
// mVedioBean!!.tipMaxIndex=5
if (mVedioBean!!.tipMaxIndex == 0 || mVedioBean!!.tipMaxIndex - 1 < position) {
autoPlayVideo()
return
......
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