|
|
@ -32,6 +32,7 @@ class ExploreShowViewModel(application: Application) : BaseViewModel(application |
|
|
|
bookSource?.let { source -> |
|
|
|
bookSource?.let { source -> |
|
|
|
exploreUrl?.let { url -> |
|
|
|
exploreUrl?.let { url -> |
|
|
|
WebBook(source).exploreBook(url, page, this) |
|
|
|
WebBook(source).exploreBook(url, page, this) |
|
|
|
|
|
|
|
.timeout(30000L) |
|
|
|
.onSuccess(IO) { searchBooks -> |
|
|
|
.onSuccess(IO) { searchBooks -> |
|
|
|
searchBooks?.let { |
|
|
|
searchBooks?.let { |
|
|
|
booksData.postValue(searchBooks) |
|
|
|
booksData.postValue(searchBooks) |
|
|
|