[Android] Set each browser fragment to handle options

David Papazian git at videolan.org
Wed Jul 19 19:20:35 CEST 2017


vlc-android | branch: master | David Papazian <david.papazian at metz.supelec.fr> | Wed Jul 19 18:13:34 2017 +0200| [f84a2974b33386942acdde848346791cbbd52231] | committer: Geoffrey Métais

Set each browser fragment to handle options

Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>

> https://code.videolan.org/videolan/vlc-android/commit/f84a2974b33386942acdde848346791cbbd52231
---

 vlc-android/res/layout/audio_albums_songs.xml      |  12 +-
 vlc-android/res/menu/activity_option.xml           |  62 ++++++
 vlc-android/res/menu/fragment_option_history.xml   |  11 ++
 vlc-android/res/menu/fragment_option_network.xml   |  10 +
 .../vlc/gui/AudioPlayerContainerActivity.java      | 156 ++++++++++++++-
 .../src/org/videolan/vlc/gui/HistoryFragment.java  |  17 +-
 .../src/org/videolan/vlc/gui/MainActivity.java     | 218 +--------------------
 .../org/videolan/vlc/gui/SecondaryActivity.java    |  74 -------
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |  40 +++-
 .../vlc/gui/audio/AudioBrowserAdapter.java         |   6 +-
 .../vlc/gui/audio/AudioBrowserFragment.java        |  18 +-
 .../videolan/vlc/gui/audio/BaseAudioBrowser.java   |  38 +++-
 .../vlc/gui/browser/BaseBrowserFragment.java       |   9 +
 .../vlc/gui/browser/FileBrowserFragment.java       |   2 +
 .../vlc/gui/browser/MediaBrowserFragment.java      |   8 +
 .../vlc/gui/browser/NetworkBrowserFragment.java    |  23 +++
 .../videolan/vlc/gui/video/VideoGridFragment.java  |   8 +
 .../vlc/util/MediaLibraryItemComparator.java       |  14 +-
 vlc-android/src/org/videolan/vlc/util/Util.java    |  45 +++++
 19 files changed, 445 insertions(+), 326 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/f84a2974b33386942acdde848346791cbbd52231


More information about the Android mailing list