@ -108,6 +108,7 @@ abstract class HttpSource : CatalogueSource {
*
*
* @param page the page number to retrieve .
* @param page the page number to retrieve .
* /
* /
@Deprecated ( " Use the non-RxJava API instead " , replaceWith = ReplaceWith ( " getPopularManga " ) )
override fun fetchPopularManga ( page : Int ) : Observable < MangasPage > {
override fun fetchPopularManga ( page : Int ) : Observable < MangasPage > {
return client . newCall ( popularMangaRequest ( page ) )
return client . newCall ( popularMangaRequest ( page ) )
. asObservableSuccess ( )
. asObservableSuccess ( )
@ -138,6 +139,7 @@ abstract class HttpSource : CatalogueSource {
* @param query the search query .
* @param query the search query .
* @param filters the list of filters to apply .
* @param filters the list of filters to apply .
* /
* /
@Deprecated ( " Use the non-RxJava API instead " , replaceWith = ReplaceWith ( " getSearchManga " ) )
override fun fetchSearchManga (
override fun fetchSearchManga (
page : Int ,
page : Int ,
query : String ,
query : String ,
@ -182,6 +184,7 @@ abstract class HttpSource : CatalogueSource {
*
*
* @param page the page number to retrieve .
* @param page the page number to retrieve .
* /
* /
@Deprecated ( " Use the non-RxJava API instead " , replaceWith = ReplaceWith ( " getLatestUpdates " ) )
override fun fetchLatestUpdates ( page : Int ) : Observable < MangasPage > {
override fun fetchLatestUpdates ( page : Int ) : Observable < MangasPage > {
return client . newCall ( latestUpdatesRequest ( page ) )
return client . newCall ( latestUpdatesRequest ( page ) )
. asObservableSuccess ( )
. asObservableSuccess ( )