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
a5edb06c
Commit
a5edb06c
authored
Jul 19, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加非空判断
parent
3af5ab50
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
0 deletions
+15
-0
AboutusActivity.kt
.../java/com/xinfu/helivideo/ui/activitys/AboutusActivity.kt
+2
-0
FeedbackActivity.kt
...java/com/xinfu/helivideo/ui/activitys/FeedbackActivity.kt
+3
-0
ManageOrderActivity.kt
...a/com/xinfu/helivideo/ui/activitys/ManageOrderActivity.kt
+3
-0
MyFragment.kt
...c/main/java/com/xinfu/helivideo/ui/fragment/MyFragment.kt
+2
-0
RecommendFragment.kt
...java/com/xinfu/helivideo/ui/fragment/RecommendFragment.kt
+3
-0
DramaApiDetailActivity.kt
.../java/com/xinfu/helivideo/video/DramaApiDetailActivity.kt
+2
-0
No files found.
video/app/src/main/java/com/xinfu/helivideo/ui/activitys/AboutusActivity.kt
View file @
a5edb06c
...
...
@@ -21,6 +21,7 @@ import com.xinfu.helivideo.utils.MateUtils
import
com.xinfu.helivideo.utils.ToastUtil
import
com.xinfu.library.utils.ConstantUtil
import
com.xinfu.library.utils.json.JsonUtil
import
com.xinfu.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.activity_aboutus.*
import
kotlinx.android.synthetic.main.header_layout.*
...
...
@@ -64,6 +65,7 @@ class AboutusActivity : BaseActivity(), View.OnClickListener {
}
override
fun
onClick
(
v
:
View
?)
{
if
(
AntiShake
.
check
(
v
?.
id
))
return
when
(
v
?.
id
)
{
R
.
id
.
iv_left_icon
->
finish
()
...
...
video/app/src/main/java/com/xinfu/helivideo/ui/activitys/FeedbackActivity.kt
View file @
a5edb06c
...
...
@@ -10,6 +10,7 @@ import com.xinfu.helivideo.R
import
com.xinfu.helivideo.mvp.presenters.FeedbackPresenter
import
com.xinfu.helivideo.mvp.views.FeedbackView
import
com.xinfu.helivideo.ui.activitys.base.BaseActivity
import
com.xinfu.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.activity_feekback.*
import
kotlinx.android.synthetic.main.header_layout.*
...
...
@@ -80,6 +81,8 @@ class FeedbackActivity : BaseActivity(), View.OnClickListener, FeedbackView {
}
override
fun
onClick
(
v
:
View
?)
{
if
(
AntiShake
.
check
(
v
?.
id
))
return
when
(
v
?.
id
)
{
R
.
id
.
iv_left_icon
->
finish
()
R
.
id
.
btn_feedback_next
->
{
...
...
video/app/src/main/java/com/xinfu/helivideo/ui/activitys/ManageOrderActivity.kt
View file @
a5edb06c
...
...
@@ -17,6 +17,7 @@ import com.xinfu.helivideo.ui.widgets.DialogListener
import
com.xinfu.helivideo.utils.ToastUtil
import
com.xinfu.library.net.neterror.BaseSubscriber
import
com.xinfu.library.net.neterror.Throwable
import
com.xinfu.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.activity_manage_order.*
import
kotlinx.android.synthetic.main.header_layout.*
...
...
@@ -65,6 +66,8 @@ class ManageOrderActivity : BaseActivity(), View.OnClickListener {
override
fun
isApplyKitKatTranslucency
()
=
false
override
fun
onClick
(
v
:
View
?)
{
if
(
AntiShake
.
check
(
v
?.
id
))
return
when
(
v
?.
id
)
{
R
.
id
.
iv_left_icon
->
finish
()
R
.
id
.
tv_cancel
->
{
...
...
video/app/src/main/java/com/xinfu/helivideo/ui/fragment/MyFragment.kt
View file @
a5edb06c
...
...
@@ -72,6 +72,8 @@ class MyFragment : BaseFragment(), MyView, View.OnClickListener {
}
override
fun
onClick
(
v
:
View
?)
{
if
(
AntiShake
.
check
(
v
?.
id
))
return
when
(
v
?.
id
)
{
R
.
id
.
tv_my_btn
->
{
if
(!
userManager
.
vipFlag
)
{
...
...
video/app/src/main/java/com/xinfu/helivideo/ui/fragment/RecommendFragment.kt
View file @
a5edb06c
...
...
@@ -16,6 +16,7 @@ import com.xinfu.helivideo.ui.adapter.RecommendPageAdapter
import
com.xinfu.helivideo.ui.fragment.base.BaseFragment
import
com.xinfu.helivideo.video.DramaTabFragment
import
com.xinfu.helivideo.video.tx.TxVideoFragment
import
com.xinfu.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.fragment_recommend.*
/**
...
...
@@ -150,6 +151,8 @@ class RecommendFragment : BaseFragment(), View.OnClickListener {
}
override
fun
onClick
(
v
:
View
?)
{
if
(
AntiShake
.
check
(
v
?.
id
))
return
when
(
v
?.
id
)
{
R
.
id
.
iv_edit
->
{
handleEditStyle
(
true
)
...
...
video/app/src/main/java/com/xinfu/helivideo/video/DramaApiDetailActivity.kt
View file @
a5edb06c
...
...
@@ -582,6 +582,8 @@ class DramaApiDetailActivity : BaseActivity(), VideoEpisodeAdapter.OnEpisodeClic
}
override
fun
onClick
(
v
:
View
?)
{
if
(
AntiShake
.
check
(
v
?.
id
))
return
when
(
v
?.
id
)
{
R
.
id
.
ll_collect
->
{
if
(
mVedioBean
!!
.
collect
==
0
)
{
...
...
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