[Android] Get default icon with a context

Geoffrey Métais git at videolan.org
Tue Mar 19 13:59:27 CET 2019


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

Get default icon with a context

Reduce usage of VLCApplication.getAppContext()

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

 .../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/f3e36154f825476423234240cbaee07e9dc025f0


More information about the Android mailing list