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
bd678a3d
Commit
bd678a3d
authored
Jun 28, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
c6569921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
MainFragment.kt
...main/java/com/mints/goodmoney/ui/fragment/MainFragment.kt
+10
-10
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MainFragment.kt
View file @
bd678a3d
...
...
@@ -433,27 +433,27 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
ExpressManager
.
loadExpress
()
// TTPreLoadCarrierExpressManager.getInstance().loadTtFrameLayout(TtCsjAdManager.TT_AD_NATIVEEXPRESS_WATER)
readyGo
(
WaterActivity
::
class
.
java
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_WATER
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_WALK
->
{
ExpressManager
.
loadExpress
()
// TTPreLoadCarrierExpressManager.getInstance().loadTtFrameLayout(TtCsjAdManager.TT_AD_NATIVEEXPRESS_WALK)
readyGo
(
WalkActivity
::
class
.
java
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_WALK
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_CARD
->
{
readyGo
(
EraseActivity
::
class
.
java
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_CARD
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_LIEBAO
->
{
readyGo
(
LiebaoGameActivity
::
class
.
java
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_LIEBAO
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_MORNINGCLOCK
->
{
ExpressManager
.
loadExpress
()
// TTPreLoadCarrierExpressManager.getInstance().loadTtFrameLayout(TtCsjAdManager.TT_AD_NATIVEEXPRESS_MORNINGCLOCK)
readyGo
(
MorningClockActivity
::
class
.
java
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_MORNINGCLOCK
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_YYZ
->
{
...
...
@@ -464,13 +464,13 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
return
}
YyzManager
.
openYyzTask
(
requireActivity
())
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_YYZ
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_EAT
->
{
ExpressManager
.
loadExpress
()
// TTPreLoadCarrierExpressManager.getInstance().loadTtFrameLayout(TtCsjAdManager.TT_AD_NATIVEEXPRESS_EAT)
readyGo
(
FoodSubsidyActivity
::
class
.
java
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_EAT
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_SHARE_NEWS
->
{
...
...
@@ -480,7 +480,7 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
return
}
shareArticle
(
300
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_SHARE_NEWS
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_CPD
->
{
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
...
...
@@ -490,11 +490,11 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
}
carrierType
=
""
readyGo
(
TaskCpdActivity
::
class
.
java
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_CPD
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
Constant
.
HOT_ACTIVITY_MOKU
->
{
//截图任务
gotoMoku
()
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
Constant
.
HOT_ACTIVITY_MOKU
)
homePresenter
.
activeGuidanceTips
(
Constant
.
STATUS_CODE_TWO
,
flhost
.
activeKey
)
}
else
->
{
if
(!
TextUtils
.
isEmpty
(
flhost
.
key
)
&&
!
TextUtils
.
isEmpty
(
flhost
.
title
))
{
...
...
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