[Android] TV: Implement sort options

Geoffrey Métais git at videolan.org
Thu May 24 17:09:01 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri May 18 16:38:51 2018 +0200| [6f857bf771ad287ccc99d5397fb1a8bb64fc9741] | committer: Geoffrey Métais

TV: Implement sort options

Raw implementation, needs some more work (icon, dialog instead of popup
menu)

TODO: crash with internal diffutil implem

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

 vlc-android/res/layout/tv_vertical_grid.xml        | 30 ++++++++++++----
 vlc-android/res/menu/sort_options.xml              | 18 ++++++++++
 vlc-android/src/org/videolan/vlc/gui/tv/TvUtil.kt  | 13 ++-----
 .../vlc/gui/tv/browser/CategoriesFragment.kt       | 17 ++++++---
 .../vlc/gui/tv/browser/MediaLibBrowserFragment.kt  | 13 +++++--
 .../vlc/gui/tv/browser/MediaSortedFragment.java    |  5 +--
 .../vlc/gui/tv/browser/VerticalGridActivity.java   |  5 +++
 .../videolan/vlc/gui/tv/browser/VideosFragment.kt  |  5 +++
 .../src/org/videolan/vlc/interfaces/Sortable.kt    | 42 ++++++++++++++++++++++
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  1 +
 10 files changed, 124 insertions(+), 25 deletions(-)

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


More information about the Android mailing list