Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
530
Issue boards
Milestones
Wiki
Code
Merge requests
15
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
78ec0c3b
Commit
78ec0c3b
authored
5 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Browsers: release breadcrumb adapter
parent
ab29509c
No related branches found
No related tags found
No related merge requests found
Pipeline
#5825
passed with stage
in 26 minutes and 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
+7
-1
7 additions, 1 deletion
...rc/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
with
7 additions
and
1 deletion
vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
+
7
−
1
View file @
78ec0c3b
...
...
@@ -98,7 +98,6 @@ public abstract class MediaBrowserFragment<T extends SortableModel> extends Frag
mSwipeRefreshLayout
=
view
.
findViewById
(
R
.
id
.
swipeLayout
);
mSwipeRefreshLayout
.
setColorSchemeResources
(
R
.
color
.
orange700
);
if
(
hasFAB
())
mFabPlay
=
requireActivity
().
findViewById
(
R
.
id
.
fab
);
setBreadcrumb
();
}
protected
boolean
hasFAB
()
{
...
...
@@ -110,9 +109,15 @@ public abstract class MediaBrowserFragment<T extends SortableModel> extends Frag
if
(
ariane
!=
null
)
ariane
.
setVisibility
(
View
.
GONE
);
}
protected
void
releaseBreadCrumb
()
{
final
RecyclerView
ariane
=
requireActivity
().
findViewById
(
R
.
id
.
ariane
);
if
(
ariane
!=
null
)
ariane
.
setAdapter
(
null
);
}
@Override
public
void
onStart
()
{
super
.
onStart
();
setBreadcrumb
();
updateActionBar
();
if
(
mFabPlay
!=
null
)
{
setFabPlayVisibility
(
true
);
...
...
@@ -131,6 +136,7 @@ public abstract class MediaBrowserFragment<T extends SortableModel> extends Frag
@Override
public
void
onStop
()
{
super
.
onStop
();
releaseBreadCrumb
();
setFabPlayVisibility
(
false
);
restart
=
true
;
}
...
...
This diff is collapsed.
Click to expand it.
Geoffrey Métais
@Dekans
mentioned in commit
708e8f39
·
5 years ago
mentioned in commit
708e8f39
mentioned in commit 708e8f3999fa88d13b916035301a4b42adb40fbb
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