Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
531
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
3697cede
Commit
3697cede
authored
5 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Browser: Cancel adapter scope on destroy
parent
4b8ff286
No related branches found
No related tags found
No related merge requests found
Pipeline
#10667
passed with stage
in 3 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.kt
+5
-0
5 additions, 0 deletions
...d/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.kt
with
5 additions
and
0 deletions
vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.kt
+
5
−
0
View file @
3697cede
...
...
@@ -217,6 +217,11 @@ abstract class BaseBrowserFragment : MediaBrowserFragment<BrowserModel>(), IRefr
viewModel
.
stop
()
}
override
fun
onDestroy
()
{
adapter
.
cancel
()
super
.
onDestroy
()
}
override
fun
onSaveInstanceState
(
outState
:
Bundle
)
{
outState
.
putString
(
KEY_MRL
,
mrl
)
outState
.
putParcelable
(
KEY_MEDIA
,
currentMedia
)
...
...
This diff is collapsed.
Click to expand it.
Nicolas Pomepuy
@Aza
mentioned in commit
a53314f7
·
5 years ago
mentioned in commit
a53314f7
mentioned in commit a53314f785da955c8cb3bdfc1bc5d2a3cf4db2cd
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment