Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
49b62f4c
Commit
49b62f4c
authored
May 21, 2015
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Init MediaBrowser at fragment creation
parent
62ff1665
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
...src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+1
-2
No files found.
vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
View file @
49b62f4c
...
...
@@ -108,6 +108,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
public
void
onCreate
(
Bundle
bundle
){
super
.
onCreate
(
bundle
);
mLibVLC
=
VLCInstance
.
get
();
mMediaBrowser
=
new
MediaBrowser
(
mLibVLC
,
this
);
if
(
bundle
==
null
)
bundle
=
getArguments
();
...
...
@@ -258,8 +259,6 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
}
protected
void
update
(){
if
(
mMediaBrowser
==
null
)
mMediaBrowser
=
new
MediaBrowser
(
mLibVLC
,
this
);
if
(
mReadyToDisplay
)
{
updateEmptyView
();
if
(
mAdapter
.
isEmpty
())
{
...
...
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