[Android] Next API implementation: retrofit + view model + UI for search
Nicolas Pomepuy
git at videolan.org
Thu Nov 28 11:40:40 CET 2019
vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Fri Oct 18 10:05:28 2019 +0200| [95dae326cb0bc3b60aaba806dfd659eebc62aff2] | committer: Geoffrey Métais
Next API implementation: retrofit + view model + UI for search
> https://code.videolan.org/videolan/vlc-android/commit/95dae326cb0bc3b60aaba806dfd659eebc62aff2
---
assets/images/svg/ic_movie_placeholder.svg | 39 +++++++
build.gradle | 1 +
vlc-android/AndroidManifest.xml | 8 ++
vlc-android/build.gradle | 6 +
vlc-android/res/drawable/ic_movie_placeholder.xml | 20 ++++
vlc-android/res/layout/next_activity.xml | 105 +++++++++++++++++
vlc-android/res/layout/next_item.xml | 115 +++++++++++++++++++
vlc-android/res/layout/tv_next.xml | 42 +++++++
vlc-android/res/values/strings.xml | 7 +-
vlc-android/src/org/videolan/vlc/VLCApplication.kt | 2 +
.../src/org/videolan/vlc/gui/NextActivity.kt | 116 +++++++++++++++++++
.../src/org/videolan/vlc/gui/NextResultAdapter.kt | 78 +++++++++++++
.../vlc/gui/browser/BaseBrowserFragment.kt | 2 +
.../org/videolan/vlc/gui/dialogs/ContextSheet.kt | 1 +
.../org/videolan/vlc/gui/helpers/ImageLoader.kt | 8 +-
.../src/org/videolan/vlc/gui/tv/CardPresenter.kt | 29 ++++-
.../vlc/gui/tv/MediaItemDetailsFragment.kt | 3 +
.../src/org/videolan/vlc/gui/tv/NextTvActivity.kt | 90 +++++++++++++++
.../src/org/videolan/vlc/gui/tv/NextTvFragment.kt | 124 +++++++++++++++++++++
.../videolan/vlc/gui/video/VideoGridFragment.kt | 2 +
.../src/org/videolan/vlc/next/INextApiService.kt | 34 ++++++
.../src/org/videolan/vlc/next/NextApiService.kt | 86 ++++++++++++++
.../src/org/videolan/vlc/next/models/Images.kt | 32 ++++++
.../org/videolan/vlc/next/models/MediaResult.kt | 65 +++++++++++
.../src/org/videolan/vlc/next/models/Medias.kt | 38 +++++++
.../org/videolan/vlc/next/models/NextResults.kt | 34 ++++++
.../org/videolan/vlc/next/models/PersonResult.kt | 69 ++++++++++++
.../src/org/videolan/vlc/next/models/Persons.kt | 38 +++++++
.../src/org/videolan/vlc/next/models/Phrase.kt | 34 ++++++
.../src/org/videolan/vlc/next/models/Poster.kt | 36 ++++++
.../videolan/vlc/repository/NextApiRepository.kt | 40 +++++++
vlc-android/src/org/videolan/vlc/util/Constants.kt | 1 +
.../src/org/videolan/vlc/util/HttpImageLoader.kt | 3 +
.../src/org/videolan/vlc/viewmodels/NextModel.kt | 61 ++++++++++
34 files changed, 1356 insertions(+), 13 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/95dae326cb0bc3b60aaba806dfd659eebc62aff2
More information about the Android
mailing list