Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_vedio
Commits
815a9b4d
Commit
815a9b4d
authored
Aug 25, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
59c7fe10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
8 deletions
+21
-8
DramaApiDetailActivity.kt
...om/duben/happyplaylet/video/csj/DramaApiDetailActivity.kt
+10
-4
TxVideoActivity.kt
...n/java/com/duben/happyplaylet/video/tx/TxVideoActivity.kt
+11
-4
No files found.
video/app/src/main/java/com/duben/happyplaylet/video/csj/DramaApiDetailActivity.kt
View file @
815a9b4d
...
@@ -2,6 +2,8 @@ package com.duben.happyplaylet.video.csj
...
@@ -2,6 +2,8 @@ package com.duben.happyplaylet.video.csj
import
android.app.Dialog
import
android.app.Dialog
import
android.os.Bundle
import
android.os.Bundle
import
android.os.Handler
import
android.os.Looper
import
android.text.TextUtils
import
android.text.TextUtils
import
android.util.Log
import
android.util.Log
import
android.view.View
import
android.view.View
...
@@ -204,10 +206,14 @@ class DramaApiDetailActivity : BaseActivity(), VideoEpisodeAdapter.OnEpisodeClic
...
@@ -204,10 +206,14 @@ class DramaApiDetailActivity : BaseActivity(), VideoEpisodeAdapter.OnEpisodeClic
TextUtils
.
isEmpty
(
UserManager
.
getInstance
().
mobile
)
&&
TextUtils
.
isEmpty
(
UserManager
.
getInstance
().
mobile
)
&&
!
AppConfig
.
vipNoBindMobile
!
AppConfig
.
vipNoBindMobile
)
{
)
{
AppConfig
.
vipNoBindMobile
=
true
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
val
bundle
=
Bundle
()
if
(
isFinishing
)
return
@postDelayed
bundle
.
putBoolean
(
MobileLoginActivity
.
BACK
,
true
)
readyGo
(
MobileLoginActivity
::
class
.
java
,
bundle
)
AppConfig
.
vipNoBindMobile
=
true
val
bundle
=
Bundle
()
bundle
.
putBoolean
(
MobileLoginActivity
.
BACK
,
true
)
readyGo
(
MobileLoginActivity
::
class
.
java
,
bundle
)
},
1000
)
}
}
}
}
...
...
video/app/src/main/java/com/duben/happyplaylet/video/tx/TxVideoActivity.kt
View file @
815a9b4d
...
@@ -2,6 +2,8 @@ package com.duben.happyplaylet.video.tx
...
@@ -2,6 +2,8 @@ package com.duben.happyplaylet.video.tx
import
android.app.Dialog
import
android.app.Dialog
import
android.os.Bundle
import
android.os.Bundle
import
android.os.Handler
import
android.os.Looper
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.View
import
android.view.View
import
com.google.gson.Gson
import
com.google.gson.Gson
...
@@ -69,10 +71,15 @@ class TxVideoActivity : BaseActivity(), View.OnClickListener, VideoView,
...
@@ -69,10 +71,15 @@ class TxVideoActivity : BaseActivity(), View.OnClickListener, VideoView,
TextUtils
.
isEmpty
(
UserManager
.
getInstance
().
mobile
)
&&
TextUtils
.
isEmpty
(
UserManager
.
getInstance
().
mobile
)
&&
!
AppConfig
.
vipNoBindMobile
!
AppConfig
.
vipNoBindMobile
)
{
)
{
AppConfig
.
vipNoBindMobile
=
true
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
val
bundle
=
Bundle
()
if
(
isFinishing
)
return
@postDelayed
bundle
.
putBoolean
(
MobileLoginActivity
.
BACK
,
true
)
readyGo
(
MobileLoginActivity
::
class
.
java
,
bundle
)
AppConfig
.
vipNoBindMobile
=
true
val
bundle
=
Bundle
()
bundle
.
putBoolean
(
MobileLoginActivity
.
BACK
,
true
)
readyGo
(
MobileLoginActivity
::
class
.
java
,
bundle
)
},
1000
)
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment