[Android] Migrate browser UI to kotlin

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


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Tue Apr 16 15:10:26 2019 +0200| [8c3958edd6cbe089a1d78615ba92db10303944ee] | committer: Geoffrey Métais

Migrate browser UI to kotlin

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

 .../src/org/videolan/vlc/gui/HistoryFragment.java  |  34 +-
 .../src/org/videolan/vlc/gui/PlaylistFragment.kt   |   7 +-
 .../vlc/gui/audio/AudioAlbumsSongsFragment.kt      |  40 ++-
 .../videolan/vlc/gui/audio/AudioBrowserFragment.kt |  37 ++-
 .../org/videolan/vlc/gui/audio/BaseAudioBrowser.kt |  18 +-
 .../vlc/gui/browser/BaseBrowserAdapter.java        | 333 -------------------
 .../videolan/vlc/gui/browser/BaseBrowserAdapter.kt | 288 ++++++++++++++++
 .../vlc/gui/browser/BaseBrowserFragment.kt         | 107 +++---
 .../videolan/vlc/gui/browser/ExtensionAdapter.java | 135 --------
 .../videolan/vlc/gui/browser/ExtensionAdapter.kt   | 114 +++++++
 .../videolan/vlc/gui/browser/ExtensionBrowser.java | 223 -------------
 .../videolan/vlc/gui/browser/ExtensionBrowser.kt   | 203 ++++++++++++
 .../vlc/gui/browser/FileBrowserFragment.java       | 200 -----------
 .../vlc/gui/browser/FileBrowserFragment.kt         | 170 ++++++++++
 .../vlc/gui/browser/FilePickerActivity.java        |  59 ----
 .../videolan/vlc/gui/browser/FilePickerActivity.kt |  57 ++++
 ...FilePickerAdapter.java => FilePickerAdapter.kt} |  32 +-
 .../videolan/vlc/gui/browser/FilePickerFragment.kt |   4 +-
 .../vlc/gui/browser/MediaBrowserFragment.java      | 366 ---------------------
 .../vlc/gui/browser/MediaBrowserFragment.kt        | 332 +++++++++++++++++++
 .../vlc/gui/browser/NetworkBrowserFragment.java    | 222 -------------
 .../vlc/gui/browser/NetworkBrowserFragment.kt      | 192 +++++++++++
 .../vlc/gui/browser/StorageBrowserAdapter.kt       |  13 +-
 .../vlc/gui/browser/StorageBrowserFragment.kt      |  11 +-
 .../videolan/vlc/gui/folders/FoldersFragment.kt    |  27 +-
 .../src/org/videolan/vlc/gui/helpers/Navigator.kt  |   4 +-
 .../videolan/vlc/gui/video/VideoGridFragment.java  |  42 +--
 27 files changed, 1558 insertions(+), 1712 deletions(-)

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


More information about the Android mailing list