[Android] Moviepedia cleanup and refactor

Nicolas Pomepuy git at videolan.org
Mon Mar 2 11:41:11 CET 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Mar  2 11:41:09 2020 +0100| [5e350c7786e8fe6eaee06ef89bb8cf971c186a48] | committer: Geoffrey Métais

Moviepedia cleanup and refactor

> https://code.videolan.org/videolan/vlc-android/commit/5e350c7786e8fe6eaee06ef89bb8cf971c186a48
---

 .../org/videolan/mobile/app/AppSetupDelegate.kt    |  8 +-
 .../moviepedia/src/main/AndroidManifest.xml        |  2 +-
 .../videolan/moviepedia/IMoviepediaApiService.kt   | 12 +--
 .../{MoviepediaIndexer.kt => MediaScraper.kt}      | 80 +++++++++----------
 .../models/identify/IdentifyBatchResult.kt         | 10 ++-
 .../moviepedia/models/identify/IdentifyResult.kt   | 93 +++++++++++++++-------
 .../moviepedia/models/media/cast/CastResult.kt     | 29 +++++--
 .../models/resolver/ResolverDataModel.kt           | 86 ++++++++++++++++++++
 ...ieProvider.kt => MediaScrapingMovieProvider.kt} |  2 +-
 ...iepediaProvider.kt => MediaScrapingProvider.kt} |  2 +-
 ...wProvider.kt => MediaScrapingTvshowProvider.kt} |  6 +-
 .../moviepedia/repository/MediaResolverApi.kt      | 40 ++++++++++
 .../repository/MoviepediaApiRepository.kt          | 20 ++---
 ...iepediaActivity.kt => MediaScrapingActivity.kt} | 23 +++---
 ...ultAdapter.kt => MediaScrapingResultAdapter.kt} | 18 ++---
 .../moviepedia/viewmodel/MediaMetadataModel.kt     |  8 +-
 .../{MoviepediaModel.kt => MediaScrapingModel.kt}  | 18 ++---
 .../src/main/res/layout/moviepedia_activity.xml    |  2 +-
 .../src/main/res/layout/moviepedia_item.xml        |  6 +-
 .../television/src/main/AndroidManifest.xml        |  4 +-
 .../org/videolan/television/ui/CardPresenter.kt    | 10 +--
 .../television/ui/MediaItemDetailsFragment.kt      |  2 +-
 ...diaTvActivity.kt => MediaScrapingTvActivity.kt} |  6 +-
 ...diaTvFragment.kt => MediaScrapingTvFragment.kt} | 19 +++--
 ...temAdapter.kt => MediaScrapingTvItemAdapter.kt} | 26 +++---
 ...ty.kt => MediaScrapingTvshowDetailsActivity.kt} |  2 +-
 ...nt.kt => MediaScrapingTvshowDetailsFragment.kt} | 10 +--
 ...agment.kt => MediaScrapingBrowserTvFragment.kt} | 32 ++++----
 .../television/ui/browser/VerticalGridActivity.kt  |  2 +-
 .../videolan/television/util/TVSearchProvider.kt   |  2 +-
 ...ewModel.kt => MediaScrapingBrowserViewModel.kt} | 10 +--
 .../src/main/res/layout/movie_browser_tv_item.xml  |  2 +-
 .../main/res/layout/movie_browser_tv_item_list.xml |  2 +-
 .../main/res/layout/moviepedia_tvshow_details.xml  |  2 +-
 34 files changed, 383 insertions(+), 213 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/5e350c7786e8fe6eaee06ef89bb8cf971c186a48


More information about the Android mailing list