From e2edae03f2e0a68a68654419662c3773c1ab3ba4 Mon Sep 17 00:00:00 2001 From: Ali Date: Wed, 6 Nov 2024 22:56:38 +0330 Subject: [PATCH] Rename to TV for Paging sources --- ...riesPagingSource.kt => AiringTodayTVSeriesPagingSource.kt} | 2 +- ...vSeriesPagingSource.kt => DiscoverTVSeriesPagingSource.kt} | 2 +- ...vSeriesPagingSource.kt => OnTheAirTVSeriesPagingSource.kt} | 2 +- ...TvSeriesPagingSource.kt => PopularTVSeriesPagingSource.kt} | 2 +- ...hTvSeriesPagingSource.kt => SearchTVSeriesPagingSource.kt} | 2 +- ...TvSeriesPagingSource.kt => SimilarTVSeriesPagingSource.kt} | 2 +- ...vSeriesPagingSource.kt => TopRatedTVSeriesPagingSource.kt} | 2 +- ...vSeriesPagingSource.kt => TrendingTVSeriesPagingSource.kt} | 2 +- .../tvshow/paging/AiringTodayTVSeriesPagingRepository.kt | 4 ++-- .../tvshow/paging/DiscoverTVSeriesPagingRepository.kt | 4 ++-- .../tvshow/paging/OnTheAirTVSeriesPagingRepository.kt | 4 ++-- .../tvshow/paging/PopularTVSeriesPagingRepository.kt | 4 ++-- .../tvshow/paging/SearchTVSeriesPagingRepository.kt | 4 ++-- .../tvshow/paging/SimilarTVSeriesPagingRepository.kt | 4 ++-- .../tvshow/paging/TopRatedTVSeriesPagingRepository.kt | 4 ++-- .../tvshow/paging/TrendingTVSeriesPagingRepository.kt | 4 ++-- 16 files changed, 24 insertions(+), 24 deletions(-) rename core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/{AiringTodayTvSeriesPagingSource.kt => AiringTodayTVSeriesPagingSource.kt} (88%) rename core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/{DiscoverTvSeriesPagingSource.kt => DiscoverTVSeriesPagingSource.kt} (88%) rename core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/{OnTheAirTvSeriesPagingSource.kt => OnTheAirTVSeriesPagingSource.kt} (88%) rename core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/{PopularTvSeriesPagingSource.kt => PopularTVSeriesPagingSource.kt} (88%) rename core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/{SearchTvSeriesPagingSource.kt => SearchTVSeriesPagingSource.kt} (88%) rename core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/{SimilarTvSeriesPagingSource.kt => SimilarTVSeriesPagingSource.kt} (88%) rename core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/{TopRatedTvSeriesPagingSource.kt => TopRatedTVSeriesPagingSource.kt} (88%) rename core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/{TrendingTvSeriesPagingSource.kt => TrendingTVSeriesPagingSource.kt} (88%) diff --git a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/AiringTodayTvSeriesPagingSource.kt b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/AiringTodayTVSeriesPagingSource.kt similarity index 88% rename from core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/AiringTodayTvSeriesPagingSource.kt rename to core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/AiringTodayTVSeriesPagingSource.kt index 4b2c343..3189a71 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/AiringTodayTvSeriesPagingSource.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/AiringTodayTVSeriesPagingSource.kt @@ -6,7 +6,7 @@ import com.sample.tmdb.data.response.asTVShowDomainModel import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource -class AiringTodayTvSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : +class AiringTodayTVSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : BasePagingSource(context) { override suspend fun fetchItems(page: Int): List = tvShowApi.airingTodayTVSeries(page).items.asTVShowDomainModel() diff --git a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/DiscoverTvSeriesPagingSource.kt b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/DiscoverTVSeriesPagingSource.kt similarity index 88% rename from core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/DiscoverTvSeriesPagingSource.kt rename to core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/DiscoverTVSeriesPagingSource.kt index e202965..79c3d87 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/DiscoverTvSeriesPagingSource.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/DiscoverTVSeriesPagingSource.kt @@ -6,7 +6,7 @@ import com.sample.tmdb.data.response.asTVShowDomainModel import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource -class DiscoverTvSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : +class DiscoverTVSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : BasePagingSource(context) { override suspend fun fetchItems(page: Int): List = tvShowApi.discoverTVSeries(page).items.asTVShowDomainModel() diff --git a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/OnTheAirTvSeriesPagingSource.kt b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/OnTheAirTVSeriesPagingSource.kt similarity index 88% rename from core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/OnTheAirTvSeriesPagingSource.kt rename to core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/OnTheAirTVSeriesPagingSource.kt index 40d96cc..339b76b 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/OnTheAirTvSeriesPagingSource.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/OnTheAirTVSeriesPagingSource.kt @@ -6,7 +6,7 @@ import com.sample.tmdb.data.response.asTVShowDomainModel import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource -class OnTheAirTvSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : +class OnTheAirTVSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : BasePagingSource(context) { override suspend fun fetchItems(page: Int): List = tvShowApi.onTheAirTVSeries(page).items.asTVShowDomainModel() diff --git a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/PopularTvSeriesPagingSource.kt b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/PopularTVSeriesPagingSource.kt similarity index 88% rename from core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/PopularTvSeriesPagingSource.kt rename to core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/PopularTVSeriesPagingSource.kt index 927fbf5..710f522 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/PopularTvSeriesPagingSource.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/PopularTVSeriesPagingSource.kt @@ -6,7 +6,7 @@ import com.sample.tmdb.data.response.asTVShowDomainModel import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource -class PopularTvSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : +class PopularTVSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : BasePagingSource(context) { override suspend fun fetchItems(page: Int): List = tvShowApi.popularTVSeries(page).items.asTVShowDomainModel() diff --git a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SearchTvSeriesPagingSource.kt b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SearchTVSeriesPagingSource.kt similarity index 88% rename from core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SearchTvSeriesPagingSource.kt rename to core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SearchTVSeriesPagingSource.kt index aad431f..890d9fa 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SearchTvSeriesPagingSource.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SearchTVSeriesPagingSource.kt @@ -6,7 +6,7 @@ import com.sample.tmdb.data.response.asTVShowDomainModel import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource -class SearchTvSeriesPagingSource(context: Context, private val tvShowApi: TVShowService, private val query: String) : +class SearchTVSeriesPagingSource(context: Context, private val tvShowApi: TVShowService, private val query: String) : BasePagingSource(context) { override suspend fun fetchItems(page: Int): List = tvShowApi.searchTVSeries(page, query).items.asTVShowDomainModel() diff --git a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SimilarTvSeriesPagingSource.kt b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SimilarTVSeriesPagingSource.kt similarity index 88% rename from core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SimilarTvSeriesPagingSource.kt rename to core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SimilarTVSeriesPagingSource.kt index eb46f11..3d9c186 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SimilarTvSeriesPagingSource.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/SimilarTVSeriesPagingSource.kt @@ -6,7 +6,7 @@ import com.sample.tmdb.data.response.asTVShowDomainModel import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource -class SimilarTvSeriesPagingSource(context: Context, private val tvShowApi: TVShowService, private val tvId: Int) : +class SimilarTVSeriesPagingSource(context: Context, private val tvShowApi: TVShowService, private val tvId: Int) : BasePagingSource(context) { override suspend fun fetchItems(page: Int): List = tvShowApi.fetchSimilarTVSeries(tvId, page).items.asTVShowDomainModel() diff --git a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TopRatedTvSeriesPagingSource.kt b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TopRatedTVSeriesPagingSource.kt similarity index 88% rename from core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TopRatedTvSeriesPagingSource.kt rename to core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TopRatedTVSeriesPagingSource.kt index f40e3fa..27f3e90 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TopRatedTvSeriesPagingSource.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TopRatedTVSeriesPagingSource.kt @@ -6,7 +6,7 @@ import com.sample.tmdb.data.response.asTVShowDomainModel import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource -class TopRatedTvSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : +class TopRatedTVSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : BasePagingSource(context) { override suspend fun fetchItems(page: Int): List = tvShowApi.topRatedTVSeries(page).items.asTVShowDomainModel() diff --git a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TrendingTvSeriesPagingSource.kt b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TrendingTVSeriesPagingSource.kt similarity index 88% rename from core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TrendingTvSeriesPagingSource.kt rename to core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TrendingTVSeriesPagingSource.kt index 4f6f656..6121cd8 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TrendingTvSeriesPagingSource.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/paging/tvshow/TrendingTVSeriesPagingSource.kt @@ -6,7 +6,7 @@ import com.sample.tmdb.data.response.asTVShowDomainModel import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource -class TrendingTvSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : +class TrendingTVSeriesPagingSource(context: Context, private val tvShowApi: TVShowService) : BasePagingSource(context) { override suspend fun fetchItems(page: Int): List = tvShowApi.trendingTVSeries(page).items.asTVShowDomainModel() diff --git a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/AiringTodayTVSeriesPagingRepository.kt b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/AiringTodayTVSeriesPagingRepository.kt index 2ee53da..8544f30 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/AiringTodayTVSeriesPagingRepository.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/AiringTodayTVSeriesPagingRepository.kt @@ -2,7 +2,7 @@ package com.sample.tmdb.data.repository.tvshow.paging import android.content.Context import com.sample.tmdb.data.network.TVShowService -import com.sample.tmdb.data.paging.tvshow.AiringTodayTvSeriesPagingSource +import com.sample.tmdb.data.paging.tvshow.AiringTodayTVSeriesPagingSource import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource import com.sample.tmdb.domain.repository.BasePagingRepository @@ -16,5 +16,5 @@ class AiringTodayTVSeriesPagingRepository @Inject constructor( private val tvShowApi: TVShowService, ) : BasePagingRepository() { override fun pagingSource(query: String?, id: Int?): BasePagingSource = - AiringTodayTvSeriesPagingSource(context, tvShowApi) + AiringTodayTVSeriesPagingSource(context, tvShowApi) } diff --git a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/DiscoverTVSeriesPagingRepository.kt b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/DiscoverTVSeriesPagingRepository.kt index b2fdcdc..ef88156 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/DiscoverTVSeriesPagingRepository.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/DiscoverTVSeriesPagingRepository.kt @@ -2,7 +2,7 @@ package com.sample.tmdb.data.repository.tvshow.paging import android.content.Context import com.sample.tmdb.data.network.TVShowService -import com.sample.tmdb.data.paging.tvshow.DiscoverTvSeriesPagingSource +import com.sample.tmdb.data.paging.tvshow.DiscoverTVSeriesPagingSource import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource import com.sample.tmdb.domain.repository.BasePagingRepository @@ -16,5 +16,5 @@ class DiscoverTVSeriesPagingRepository @Inject constructor( private val tvShowApi: TVShowService, ) : BasePagingRepository() { override fun pagingSource(query: String?, id: Int?): BasePagingSource = - DiscoverTvSeriesPagingSource(context, tvShowApi) + DiscoverTVSeriesPagingSource(context, tvShowApi) } diff --git a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/OnTheAirTVSeriesPagingRepository.kt b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/OnTheAirTVSeriesPagingRepository.kt index dc7957a..024406d 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/OnTheAirTVSeriesPagingRepository.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/OnTheAirTVSeriesPagingRepository.kt @@ -2,7 +2,7 @@ package com.sample.tmdb.data.repository.tvshow.paging import android.content.Context import com.sample.tmdb.data.network.TVShowService -import com.sample.tmdb.data.paging.tvshow.OnTheAirTvSeriesPagingSource +import com.sample.tmdb.data.paging.tvshow.OnTheAirTVSeriesPagingSource import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource import com.sample.tmdb.domain.repository.BasePagingRepository @@ -16,5 +16,5 @@ class OnTheAirTVSeriesPagingRepository @Inject constructor( private val tvShowApi: TVShowService, ) : BasePagingRepository() { override fun pagingSource(query: String?, id: Int?): BasePagingSource = - OnTheAirTvSeriesPagingSource(context, tvShowApi) + OnTheAirTVSeriesPagingSource(context, tvShowApi) } diff --git a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/PopularTVSeriesPagingRepository.kt b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/PopularTVSeriesPagingRepository.kt index 813717e..469ca83 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/PopularTVSeriesPagingRepository.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/PopularTVSeriesPagingRepository.kt @@ -2,7 +2,7 @@ package com.sample.tmdb.data.repository.tvshow.paging import android.content.Context import com.sample.tmdb.data.network.TVShowService -import com.sample.tmdb.data.paging.tvshow.PopularTvSeriesPagingSource +import com.sample.tmdb.data.paging.tvshow.PopularTVSeriesPagingSource import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource import com.sample.tmdb.domain.repository.BasePagingRepository @@ -16,5 +16,5 @@ class PopularTVSeriesPagingRepository @Inject constructor( private val tvShowApi: TVShowService, ) : BasePagingRepository() { override fun pagingSource(query: String?, id: Int?): BasePagingSource = - PopularTvSeriesPagingSource(context, tvShowApi) + PopularTVSeriesPagingSource(context, tvShowApi) } diff --git a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/SearchTVSeriesPagingRepository.kt b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/SearchTVSeriesPagingRepository.kt index 2b40527..0581fab 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/SearchTVSeriesPagingRepository.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/SearchTVSeriesPagingRepository.kt @@ -2,7 +2,7 @@ package com.sample.tmdb.data.repository.tvshow.paging import android.content.Context import com.sample.tmdb.data.network.TVShowService -import com.sample.tmdb.data.paging.tvshow.SearchTvSeriesPagingSource +import com.sample.tmdb.data.paging.tvshow.SearchTVSeriesPagingSource import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource import com.sample.tmdb.domain.repository.BasePagingRepository @@ -15,5 +15,5 @@ SearchTVSeriesPagingRepository @Inject constructor( private val tvShowApi: TVShowService, ) : BasePagingRepository() { override fun pagingSource(query: String?, id: Int?): BasePagingSource = - SearchTvSeriesPagingSource(context, tvShowApi, query!!) + SearchTVSeriesPagingSource(context, tvShowApi, query!!) } diff --git a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/SimilarTVSeriesPagingRepository.kt b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/SimilarTVSeriesPagingRepository.kt index 2b525eb..3ee834b 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/SimilarTVSeriesPagingRepository.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/SimilarTVSeriesPagingRepository.kt @@ -2,7 +2,7 @@ package com.sample.tmdb.data.repository.tvshow.paging import android.content.Context import com.sample.tmdb.data.network.TVShowService -import com.sample.tmdb.data.paging.tvshow.SimilarTvSeriesPagingSource +import com.sample.tmdb.data.paging.tvshow.SimilarTVSeriesPagingSource import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource import com.sample.tmdb.domain.repository.BasePagingRepository @@ -16,5 +16,5 @@ class SimilarTVSeriesPagingRepository @Inject constructor( private val tvShowApi: TVShowService, ) : BasePagingRepository() { override fun pagingSource(query: String?, id: Int?): BasePagingSource = - SimilarTvSeriesPagingSource(context, tvShowApi, id!!) + SimilarTVSeriesPagingSource(context, tvShowApi, id!!) } diff --git a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/TopRatedTVSeriesPagingRepository.kt b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/TopRatedTVSeriesPagingRepository.kt index 4926051..1114b15 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/TopRatedTVSeriesPagingRepository.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/TopRatedTVSeriesPagingRepository.kt @@ -2,7 +2,7 @@ package com.sample.tmdb.data.repository.tvshow.paging import android.content.Context import com.sample.tmdb.data.network.TVShowService -import com.sample.tmdb.data.paging.tvshow.TopRatedTvSeriesPagingSource +import com.sample.tmdb.data.paging.tvshow.TopRatedTVSeriesPagingSource import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource import com.sample.tmdb.domain.repository.BasePagingRepository @@ -16,5 +16,5 @@ class TopRatedTVSeriesPagingRepository @Inject constructor( private val tvShowApi: TVShowService, ) : BasePagingRepository() { override fun pagingSource(query: String?, id: Int?): BasePagingSource = - TopRatedTvSeriesPagingSource(context, tvShowApi) + TopRatedTVSeriesPagingSource(context, tvShowApi) } diff --git a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/TrendingTVSeriesPagingRepository.kt b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/TrendingTVSeriesPagingRepository.kt index d5d8e91..a0507c9 100644 --- a/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/TrendingTVSeriesPagingRepository.kt +++ b/core/data/src/main/java/com/sample/tmdb/data/repository/tvshow/paging/TrendingTVSeriesPagingRepository.kt @@ -2,7 +2,7 @@ package com.sample.tmdb.data.repository.tvshow.paging import android.content.Context import com.sample.tmdb.data.network.TVShowService -import com.sample.tmdb.data.paging.tvshow.TrendingTvSeriesPagingSource +import com.sample.tmdb.data.paging.tvshow.TrendingTVSeriesPagingSource import com.sample.tmdb.domain.model.TVShow import com.sample.tmdb.domain.paging.BasePagingSource import com.sample.tmdb.domain.repository.BasePagingRepository @@ -16,5 +16,5 @@ class TrendingTVSeriesPagingRepository @Inject constructor( private val tvShowApi: TVShowService, ) : BasePagingRepository() { override fun pagingSource(query: String?, id: Int?): BasePagingSource = - TrendingTvSeriesPagingSource(context, tvShowApi) + TrendingTVSeriesPagingSource(context, tvShowApi) }