[Android] Migrate custom views to kotlin

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


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Wed Apr 17 14:00:53 2019 +0200| [5143b824d8aec926a08eea68d0c59926fd66d0ef] | committer: Geoffrey Métais

Migrate custom views to kotlin

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

 .../videolan/vlc/gui/audio/EqualizerFragment.kt    |   2 +-
 .../vlc/gui/preferences/PreferencesExtensions.kt   |   4 +-
 .../videolan/vlc/gui/view/AudioMediaSwitcher.java  | 166 ------------
 .../videolan/vlc/gui/view/AudioMediaSwitcher.kt    | 157 +++++++++++
 .../vlc/gui/view/AudioPlaylistItemViewGroup.java   |  70 -----
 .../videolan/vlc/gui/view/AutoFitRecyclerView.java | 110 --------
 .../videolan/vlc/gui/view/AutoFitRecyclerView.kt   |  91 +++++++
 .../vlc/gui/view/ClickableSwitchPreference.java    |  44 ----
 .../vlc/gui/view/ClickableSwitchPreference.kt      |  32 +++
 ...verMediaSwitcher.java => CoverMediaSwitcher.kt} |  44 ++--
 .../org/videolan/vlc/gui/view/EqualizerBar.java    | 106 --------
 .../src/org/videolan/vlc/gui/view/EqualizerBar.kt  | 103 ++++++++
 .../org/videolan/vlc/gui/view/FlingViewGroup.java  | 289 ---------------------
 .../org/videolan/vlc/gui/view/FlingViewGroup.kt    | 268 +++++++++++++++++++
 ...HackyDrawerLayout.java => HackyDrawerLayout.kt} |  38 ++-
 .../videolan/vlc/gui/view/HeaderMediaSwitcher.java |  62 -----
 .../videolan/vlc/gui/view/HeaderMediaSwitcher.kt   |  61 +++++
 .../src/org/videolan/vlc/gui/view/PopupLayout.java | 206 ---------------
 .../src/org/videolan/vlc/gui/view/PopupLayout.kt   | 200 ++++++++++++++
 ...ipeRefreshLayout.java => SwipeRefreshLayout.kt} |  30 +--
 .../org/videolan/vlc/gui/view/VerticalSeekBar.java | 128 ---------
 .../org/videolan/vlc/gui/view/VerticalSeekBar.kt   | 103 ++++++++
 22 files changed, 1069 insertions(+), 1245 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/5143b824d8aec926a08eea68d0c59926fd66d0ef


More information about the Android mailing list