[Android] Factorize DPAD selection code for lists

Geoffrey Métais git at videolan.org
Thu Aug 31 12:34:00 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Aug 31 12:13:10 2017 +0200| [8795d366f0d850fd24dbc4fd1e9f3999b147f300] | committer: Geoffrey Métais

Factorize DPAD selection code for lists

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

 vlc-android/res/layout/audio_browser_item.xml      |  6 ++-
 vlc-android/res/layout/browser_item.xml            |  6 ++-
 vlc-android/res/layout/history_item.xml            |  1 +
 vlc-android/res/layout/video_grid_card.xml         |  7 ++-
 vlc-android/res/layout/video_list_card.xml         |  1 +
 .../src/org/videolan/vlc/gui/HistoryAdapter.java   | 18 ++++---
 .../vlc/gui/audio/AudioBrowserAdapter.java         | 52 ++++++++++---------
 .../vlc/gui/browser/BaseBrowserAdapter.java        | 44 ++++++----------
 .../vlc/gui/helpers/SelectorViewHolder.java        | 58 ++++++++++++++++++++++
 .../src/org/videolan/vlc/gui/helpers/UiTools.java  |  2 +-
 .../videolan/vlc/gui/video/VideoListAdapter.java   | 45 +++++++----------
 11 files changed, 145 insertions(+), 95 deletions(-)

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


More information about the Android mailing list