[Android] Migrate preferences to kotlin

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


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Wed Apr 17 09:26:18 2019 +0200| [8d0265e469e0e9eabbc0156d887dc51ad2e9dbf8] | committer: Geoffrey Métais

Migrate preferences to kotlin

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

 .../gui/preferences/BasePreferenceFragment.java    |  75 ---------
 .../vlc/gui/preferences/BasePreferenceFragment.kt  |  77 +++++++++
 .../vlc/gui/preferences/PreferencesActivity.java   | 142 ----------------
 .../vlc/gui/preferences/PreferencesActivity.kt     | 137 ++++++++++++++++
 .../vlc/gui/preferences/PreferencesAdvanced.java   | 180 ---------------------
 .../vlc/gui/preferences/PreferencesAdvanced.kt     | 160 ++++++++++++++++++
 .../vlc/gui/preferences/PreferencesAudio.java      | 112 -------------
 .../vlc/gui/preferences/PreferencesAudio.kt        | 103 ++++++++++++
 .../preferences/PreferencesExtensionFragment.java  | 131 ---------------
 .../preferences/PreferencesExtensionFragment.kt    | 127 +++++++++++++++
 .../vlc/gui/preferences/PreferencesExtensions.java | 124 --------------
 .../vlc/gui/preferences/PreferencesExtensions.kt   | 115 +++++++++++++
 .../vlc/gui/preferences/PreferencesFragment.java   | 140 ----------------
 .../vlc/gui/preferences/PreferencesFragment.kt     | 119 ++++++++++++++
 .../vlc/gui/preferences/PreferencesSubtitles.java  |  62 -------
 .../vlc/gui/preferences/PreferencesSubtitles.kt    |  59 +++++++
 .../vlc/gui/preferences/PreferencesUi.java         | 119 --------------
 .../videolan/vlc/gui/preferences/PreferencesUi.kt  | 109 +++++++++++++
 .../vlc/gui/preferences/PreferencesVideo.java      |  68 --------
 .../vlc/gui/preferences/PreferencesVideo.kt        |  66 ++++++++
 ...tiSelectListPreferenceDialogFragmentCompat.java |  91 -----------
 ...ultiSelectListPreferenceDialogFragmentCompat.kt |  81 ++++++++++
 22 files changed, 1153 insertions(+), 1244 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/8d0265e469e0e9eabbc0156d887dc51ad2e9dbf8


More information about the Android mailing list