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
efdc821d
Commit
efdc821d
authored
Dec 23, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
59582ea3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
14 deletions
+24
-14
build.gradle
video/app/build.gradle
+2
-2
MobileLoginActivity.kt
...ava/com/duben/heliapp/ui/activitys/MobileLoginActivity.kt
+5
-4
VipActivity.kt
...c/main/java/com/duben/heliapp/ui/activitys/VipActivity.kt
+15
-7
gradle.properties
video/gradle.properties
+2
-1
No files found.
video/app/build.gradle
View file @
efdc821d
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.duben.heliapp"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
7
29
versionName
"7.
2.9
"
versionCode
7
30
versionName
"7.
3.0
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/duben/heliapp/ui/activitys/MobileLoginActivity.kt
View file @
efdc821d
...
...
@@ -153,13 +153,14 @@ class MobileLoginActivity : BaseActivity(), LoginView, View.OnClickListener {
if
(
isFinishing
)
return
// false-登录 true-绑定手机号
showToast
(
"
绑定
成功"
)
showToast
(
"
操作
成功"
)
hideLoading
()
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
readyGoThenKill
(
MainActivity
::
class
.
java
)
},
1000
)
// Handler(Looper.getMainLooper()).postDelayed({
// readyGoThenKill(MainActivity::class.java)
// }, 1000)
finish
()
}
override
fun
sendCodeSuc
()
{
...
...
video/app/src/main/java/com/duben/heliapp/ui/activitys/VipActivity.kt
View file @
efdc821d
...
...
@@ -300,15 +300,16 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
// readyGoThenKill(MainActivity::class.java)
// }
// }
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
val
b
=
Bundle
()
b
.
putString
(
MobileLoginActivity
.
TYPE
,
"vip"
)
readyGoThenKill
(
MobileLoginActivity
::
class
.
java
,
b
)
}
else
{
// if (!UserManager.getInstance().userIsLogin()) {
// val b = Bundle()
// b.putString(MobileLoginActivity.TYPE, "vip")
// readyGoThenKill(MobileLoginActivity::class.java, b)
// } else {
// readyGoThenKill(MainActivity::class.java)
// }
readyGoThenKill
(
MainActivity
::
class
.
java
)
}
}
}
override
fun
getUserSuc
(
data
:
UserBean
)
{
if
(
data
.
expireTime
>
0
)
{
...
...
@@ -380,6 +381,13 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
}
}
R
.
id
.
tvVipPay
->
{
if
(
UserManager
.
getInstance
().
userIsLogin
())
{
showToast
(
"请先登录"
)
readyGo
(
MobileLoginActivity
::
class
.
java
)
return
}
if
(
vipList
!=
null
&&
vipList
!!
.
size
>
0
)
{
val
vipBean
=
vipList
!!
[
vipAdapter
.
getPosition
()]
...
...
video/gradle.properties
View file @
efdc821d
...
...
@@ -45,7 +45,8 @@ RELEASE_UMENG_KEY=64b8de13a1a164591b5133df
RELEASE_TALKING_DATA_KEY
=
"953575B247E8445090F9823ED5EB6497"
GROMORE_APP_ID="5459207"
#GROMORE_APP_ID="5459207"
GROMORE_APP_ID="1234567"
GROMORE_SPLASH_CODE
=
"102590944"
GROMORE_VIDEO_CODE="103251251"
GROMORE_EXPRESS_CODE
=
"103250982"
...
...
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