[Android] Get default icon with a context

Geoffrey Métais git at videolan.org
Tue Mar 19 15:35:20 CET 2019


vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Mar 19 12:39:11 2019 +0100| [4dd2dadd3e837221e7f1e2e1a00ec8c502d1ab62] | committer: Geoffrey Métais

Get default icon with a context

Reduce usage of VLCApplication.getAppContext()

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

 .../src/org/videolan/vlc/gui/HistoryAdapter.java   |  2 +-
 .../org/videolan/vlc/gui/SearchResultAdapter.java  |  5 ++-
 .../vlc/gui/audio/AudioBrowserAdapter.java         |  6 ++-
 .../org/videolan/vlc/gui/helpers/ImageLoader.kt    | 21 +++++----
 .../vlc/gui/helpers/SelectorViewHolder.java        | 15 +++++--
 .../src/org/videolan/vlc/gui/helpers/UiTools.java  | 52 +++++++++++++++-------
 .../videolan/vlc/gui/video/VideoListAdapter.java   |  7 +--
 7 files changed, 74 insertions(+), 34 deletions(-)

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


More information about the Android mailing list