[Android] Migrate TV audio / preferences / browser to kotlin

Nicolas Pomepuy git at videolan.org
Fri Apr 26 12:45:46 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Apr 18 07:26:14 2019 +0200| [65d29011cfcac000d304805b70a62b33ce21db67] | committer: Geoffrey Métais

Migrate TV audio / preferences / browser to kotlin

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

 .../gui/tv/audioplayer/AudioPlayerActivity.java    | 309 ---------------------
 .../vlc/gui/tv/audioplayer/AudioPlayerActivity.kt  | 279 +++++++++++++++++++
 .../vlc/gui/tv/audioplayer/PlaylistAdapter.java    | 102 -------
 .../vlc/gui/tv/audioplayer/PlaylistAdapter.kt      |  92 ++++++
 .../vlc/gui/tv/browser/BaseTvActivity.java         | 139 ---------
 .../videolan/vlc/gui/tv/browser/BaseTvActivity.kt  | 115 ++++++++
 .../vlc/gui/tv/browser/BrowserGridFragment.java    | 114 --------
 .../vlc/gui/tv/browser/BrowserGridFragment.kt      |  96 +++++++
 .../gui/tv/browser/DirectoryBrowserFragment.java   | 104 -------
 .../vlc/gui/tv/browser/DirectoryBrowserFragment.kt |  85 ++++++
 .../videolan/vlc/gui/tv/browser/GridFragment.java  |  55 ----
 .../videolan/vlc/gui/tv/browser/GridFragment.kt    |  55 ++++
 .../vlc/gui/tv/browser/MediaSortedFragment.java    |  73 -----
 .../vlc/gui/tv/browser/MediaSortedFragment.kt      |  72 +++++
 .../vlc/gui/tv/browser/NetworkBrowserFragment.java |   2 +-
 .../vlc/gui/tv/browser/VerticalGridActivity.java   | 147 ----------
 .../vlc/gui/tv/browser/VerticalGridActivity.kt     | 135 +++++++++
 ...yInterface.java => BrowserActivityInterface.kt} |   8 +-
 ...tInterface.java => BrowserFragmentInterface.kt} |   6 +-
 .../{DetailsFragment.java => DetailsFragment.kt}   |   6 +-
 ...enceFragment.java => BasePreferenceFragment.kt} |  31 +--
 .../gui/tv/preferences/PreferencesActivity.java    |  98 -------
 .../vlc/gui/tv/preferences/PreferencesActivity.kt  |  98 +++++++
 .../gui/tv/preferences/PreferencesAdvanced.java    | 142 ----------
 .../vlc/gui/tv/preferences/PreferencesAdvanced.kt  | 132 +++++++++
 .../vlc/gui/tv/preferences/PreferencesAudio.java   |  94 -------
 .../vlc/gui/tv/preferences/PreferencesAudio.kt     |  92 ++++++
 .../gui/tv/preferences/PreferencesFragment.java    |  94 -------
 .../vlc/gui/tv/preferences/PreferencesFragment.kt  |  92 ++++++
 .../gui/tv/preferences/PreferencesSubtitles.java   |  65 -----
 .../vlc/gui/tv/preferences/PreferencesSubtitles.kt |  62 +++++
 .../vlc/gui/tv/preferences/PreferencesUi.java      | 100 -------
 .../vlc/gui/tv/preferences/PreferencesUi.kt        |  89 ++++++
 .../vlc/gui/tv/preferences/PreferencesVideo.java   |  72 -----
 .../vlc/gui/tv/preferences/PreferencesVideo.kt     |  71 +++++
 35 files changed, 1591 insertions(+), 1735 deletions(-)

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


More information about the Android mailing list