|
|
@ -163,10 +163,13 @@ class ChangeSourceViewModel(application: Application) : BaseViewModel(applicatio |
|
|
|
|| searchIndex >= bookSourceList.lastIndex + threadCount |
|
|
|
|| searchIndex >= bookSourceList.lastIndex + threadCount |
|
|
|
) { |
|
|
|
) { |
|
|
|
searchStateData.postValue(false) |
|
|
|
searchStateData.postValue(false) |
|
|
|
|
|
|
|
tasks.clear() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
tasks.add(task) |
|
|
|
tasks.add(task) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun loadBookInfo(webBook: WebBook, book: Book) { |
|
|
|
private fun loadBookInfo(webBook: WebBook, book: Book) { |
|
|
|