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
93dd5463
Commit
93dd5463
authored
Nov 27, 2020
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理动画资源未释放问题
parent
40dc5e28
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
8 deletions
+19
-8
HorizChannelFragment.kt
...a/com/mints/goodmoney/ui/fragment/HorizChannelFragment.kt
+7
-2
MainFragment.kt
...main/java/com/mints/goodmoney/ui/fragment/MainFragment.kt
+6
-3
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+5
-1
activity_friends.xml
GoodMoney/app/src/main/res/layout/activity_friends.xml
+1
-2
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/HorizChannelFragment.kt
View file @
93dd5463
...
@@ -86,11 +86,16 @@ class HorizChannelFragment : BaseFragment(), HorizChannelView, View.OnClickListe
...
@@ -86,11 +86,16 @@ class HorizChannelFragment : BaseFragment(), HorizChannelView, View.OnClickListe
channelFragment
?.
onPause
()
channelFragment
?.
onPause
()
}
}
override
fun
onDestroy
()
{
override
fun
onDestroyView
()
{
super
.
onDestroy
()
cdvvYilanTime
?.
onDestory
()
cdvvYilanTime
?.
onDestory
()
cdvvYilanTime
?.
setCountDownVedioListener
(
null
)
cdvvYilanTime
?.
setCountDownVedioListener
(
null
)
super
.
onDestroyView
()
}
override
fun
onDestroy
()
{
super
.
onDestroy
()
horizChannelPresenter
.
detachView
()
horizChannelPresenter
.
detachView
()
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MainFragment.kt
View file @
93dd5463
...
@@ -131,11 +131,14 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
...
@@ -131,11 +131,14 @@ class MainFragment : BaseFragment(), HomeView, View.OnClickListener {
littleVideoFragment
?.
userVisibleHint
=
isVisibleToUser
littleVideoFragment
?.
userVisibleHint
=
isVisibleToUser
}
}
override
fun
onDestroy
()
{
override
fun
onDestroyView
()
{
super
.
onDestroy
()
cdvvYilanTime
?.
onDestory
()
cdvvYilanTime
?.
onDestory
()
cdvvYilanTime
?.
setCountDownVedioListener
(
null
)
cdvvYilanTime
?.
setCountDownVedioListener
(
null
)
super
.
onDestroyView
()
}
override
fun
onDestroy
()
{
super
.
onDestroy
()
// 广告回调解绑
// 广告回调解绑
YLUIConfig
.
getInstance
().
unRegisterAdListener
()
YLUIConfig
.
getInstance
().
unRegisterAdListener
()
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
93dd5463
...
@@ -155,10 +155,14 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
...
@@ -155,10 +155,14 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
}
}
}
}
override
fun
onDestroyView
()
{
item_clock_signview
.
onDestory
()
super
.
onDestroyView
()
}
override
fun
onDestroy
()
{
override
fun
onDestroy
()
{
super
.
onDestroy
()
super
.
onDestroy
()
BxmManager
.
onDestory
()
BxmManager
.
onDestory
()
item_clock_signview
.
onDestory
()
myPresenter
.
detachView
()
myPresenter
.
detachView
()
}
}
...
...
GoodMoney/app/src/main/res/layout/activity_friends.xml
View file @
93dd5463
...
@@ -41,8 +41,7 @@
...
@@ -41,8 +41,7 @@
<View
<View
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_height=
"1dp"
android:layout_alignParentBottom=
"true"
android:background=
"@color/my_color_gray"
/>
android:background=
"@color/my_color_gray3"
/>
<androidx.viewpager.widget.ViewPager
<androidx.viewpager.widget.ViewPager
android:id=
"@+id/view_pager_friends"
android:id=
"@+id/view_pager_friends"
...
...
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