Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
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_goodmoney
Commits
6828cd00
Commit
6828cd00
authored
Mar 05, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
648284b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
TaskCpdFragment.kt
...n/java/com/mints/goodmoney/ui/fragment/TaskCpdFragment.kt
+6
-6
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/TaskCpdFragment.kt
View file @
6828cd00
...
...
@@ -566,7 +566,7 @@ class TaskCpdFragment : BaseFragment(), TaskView,
}
else
{
taskCpdDialog
=
TaskCpdDialog
(
requireActivity
(),
object
:
DialogListener
()
{
override
fun
onClick
(
v
:
View
?)
{
val
trackerBean
=
mFakeTaskList
[
position
].
trackerBean
val
trackerBean
=
mFakeTaskList
[
position
].
tracker
List
Bean
if
(
trackerBean
!=
null
)
{
LogUtil
.
d
(
"CPD -> clikc"
)
...
...
@@ -617,7 +617,7 @@ class TaskCpdFragment : BaseFragment(), TaskView,
// 上报珊瑚安装完成
mDownloadProcess
?.
reportInstallSuccess
(
false
)
}
else
{
val
trackerBean
=
mFakeTaskList
[
position
].
trackerBean
val
trackerBean
=
mFakeTaskList
[
position
].
tracker
List
Bean
if
(
trackerBean
!=
null
)
{
// 上报CPD开始安装
LogUtil
.
d
(
"CPD -> install_start"
)
...
...
@@ -662,7 +662,7 @@ class TaskCpdFragment : BaseFragment(), TaskView,
// 上报珊瑚激活完成
mDownloadProcess
?.
reportAppActivated
()
}
else
{
val
trackerBean
=
mFakeTaskList
[
position
].
trackerBean
val
trackerBean
=
mFakeTaskList
[
position
].
tracker
List
Bean
if
(
trackerBean
!=
null
)
{
// 上报CPD激活完成
...
...
@@ -683,7 +683,7 @@ class TaskCpdFragment : BaseFragment(), TaskView,
// 上报珊瑚激活完成
mDownloadProcess
?.
reportAppActivated
()
}
else
{
val
trackerBean
=
mFakeTaskList
[
position
].
trackerBean
val
trackerBean
=
mFakeTaskList
[
position
].
tracker
List
Bean
if
(
trackerBean
!=
null
)
{
// 上报CPD激活完成
LogUtil
.
d
(
"CPD -> activation"
)
...
...
@@ -734,7 +734,7 @@ class TaskCpdFragment : BaseFragment(), TaskView,
}
else
{
LogUtil
.
d
(
"CPD -> onDownloadStart"
)
val
trackerBean
=
mFakeTaskList
[
position
].
trackerBean
val
trackerBean
=
mFakeTaskList
[
position
].
tracker
List
Bean
if
(
trackerBean
!=
null
)
{
// 上报CPD下载开始
taskPresenter
.
cmtImp
(
trackerBean
.
download_start
[
0
])
...
...
@@ -755,7 +755,7 @@ class TaskCpdFragment : BaseFragment(), TaskView,
}
else
{
LogUtil
.
d
(
"CPD -> onDownloadSuccess"
)
val
trackerBean
=
mFakeTaskList
[
position
].
trackerBean
val
trackerBean
=
mFakeTaskList
[
position
].
tracker
List
Bean
if
(
trackerBean
!=
null
)
{
// 上报CPD下载成功
taskPresenter
.
cmtImp
(
trackerBean
.
download_finish
[
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