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
8618525c
Commit
8618525c
authored
Mar 26, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
849b1abd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+4
-2
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
8618525c
...
@@ -144,7 +144,6 @@ class MyFragment : BaseFragment(),
...
@@ -144,7 +144,6 @@ class MyFragment : BaseFragment(),
override
fun
onPause
()
{
override
fun
onPause
()
{
super
.
onPause
()
super
.
onPause
()
banner_view
.
stopAutoScroll
()
banner_view
.
stopAutoScroll
()
item_clock_signview
.
stopRedbox
()
item_clock_signview
.
stopRedbox
()
...
@@ -164,7 +163,9 @@ class MyFragment : BaseFragment(),
...
@@ -164,7 +163,9 @@ class MyFragment : BaseFragment(),
myPresenter
.
userLogin
()
myPresenter
.
userLogin
()
}
}
if
(
banner_view
.
visibility
==
View
.
VISIBLE
)
{
banner_view
.
startAutoScroll
()
banner_view
.
startAutoScroll
()
}
// 刷新喜马拉雅信息流
// 刷新喜马拉雅信息流
TTPreLoadExpressXmlyManager
.
getInstance
().
loadTtFrameLayout
()
TTPreLoadExpressXmlyManager
.
getInstance
().
loadTtFrameLayout
()
...
@@ -361,6 +362,7 @@ class MyFragment : BaseFragment(),
...
@@ -361,6 +362,7 @@ class MyFragment : BaseFragment(),
if
(
mBannerData
?.
list
==
null
||
mBannerData
?.
list
!!
.
size
==
0
)
{
if
(
mBannerData
?.
list
==
null
||
mBannerData
?.
list
!!
.
size
==
0
)
{
fl_my_banner
.
visibility
=
View
.
VISIBLE
fl_my_banner
.
visibility
=
View
.
VISIBLE
LogUtil
.
d
(
"TAG"
,
"getMyRotationChartSuc"
)
banner_view
.
visibility
=
View
.
GONE
banner_view
.
visibility
=
View
.
GONE
BannerManager
.
getTtBanner
(
TtCsjAdManager
.
TT_AD_BANNER_MY
,
fl_my_banner
)
BannerManager
.
getTtBanner
(
TtCsjAdManager
.
TT_AD_BANNER_MY
,
fl_my_banner
)
}
else
{
}
else
{
...
...
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