[Android] Migrate main activities to kotlin

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


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Wed Apr 17 15:15:20 2019 +0200| [76a0bca06d95abfc47b25e60ab81ad0f0f52f8e8] | committer: Geoffrey Métais

Migrate main activities to kotlin

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

 .../vlc/gui/AudioPlayerContainerActivity.kt        |   6 +-
 .../src/org/videolan/vlc/gui/BaseActivity.java     |  41 --
 .../src/org/videolan/vlc/gui/BaseActivity.kt       |  37 ++
 .../org/videolan/vlc/gui/CompatErrorActivity.java  |  43 --
 .../org/videolan/vlc/gui/CompatErrorActivity.kt    |  39 ++
 .../src/org/videolan/vlc/gui/ContentActivity.java  | 230 ----------
 .../src/org/videolan/vlc/gui/ContentActivity.kt    | 219 ++++++++++
 .../src/org/videolan/vlc/gui/DebugLogActivity.java | 189 ---------
 .../src/org/videolan/vlc/gui/DebugLogActivity.kt   | 158 +++++++
 .../src/org/videolan/vlc/gui/DialogActivity.java   | 114 -----
 .../src/org/videolan/vlc/gui/DialogActivity.kt     | 113 +++++
 .../src/org/videolan/vlc/gui/HistoryAdapter.java   | 124 ------
 .../src/org/videolan/vlc/gui/HistoryAdapter.kt     | 115 +++++
 .../src/org/videolan/vlc/gui/HistoryFragment.java  | 277 ------------
 .../src/org/videolan/vlc/gui/HistoryFragment.kt    | 231 ++++++++++
 .../src/org/videolan/vlc/gui/InfoActivity.java     | 334 ---------------
 .../src/org/videolan/vlc/gui/InfoActivity.kt       | 307 ++++++++++++++
 .../src/org/videolan/vlc/gui/MainActivity.java     | 423 -------------------
 .../src/org/videolan/vlc/gui/MainActivity.kt       | 384 +++++++++++++++++
 .../src/org/videolan/vlc/gui/PlaylistActivity.java | 465 ---------------------
 .../src/org/videolan/vlc/gui/PlaylistActivity.kt   | 380 +++++++++++++++++
 .../src/org/videolan/vlc/gui/SearchActivity.java   | 162 -------
 .../src/org/videolan/vlc/gui/SearchActivity.kt     | 154 +++++++
 .../org/videolan/vlc/gui/SearchResultAdapter.java  |  60 ---
 .../org/videolan/vlc/gui/SearchResultAdapter.kt    |  48 +++
 .../org/videolan/vlc/gui/SecondaryActivity.java    | 152 -------
 .../src/org/videolan/vlc/gui/SecondaryActivity.kt  | 147 +++++++
 27 files changed, 2335 insertions(+), 2617 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/76a0bca06d95abfc47b25e60ab81ad0f0f52f8e8


More information about the Android mailing list