|
|
@ -119,7 +119,7 @@ public class FindBookHolder extends ViewHolderImpl<Book> { |
|
|
|
} |
|
|
|
} |
|
|
|
if (!StringHelper.isEmpty(source.getSourceName()) && !"未知书源".equals(source.getSourceName())) |
|
|
|
if (!StringHelper.isEmpty(source.getSourceName()) && !"未知书源".equals(source.getSourceName())) |
|
|
|
tvSource.setText(String.format("书源:%s", source.getSourceName())); |
|
|
|
tvSource.setText(String.format("书源:%s", source.getSourceName())); |
|
|
|
if (!(rc instanceof ThirdCrawler) && rc instanceof BookInfoCrawler && needGetInfo(data)) { |
|
|
|
if (rc instanceof BookInfoCrawler && needGetInfo(data)) { |
|
|
|
Log.i(data.getName(), "initOtherInfo"); |
|
|
|
Log.i(data.getName(), "initOtherInfo"); |
|
|
|
BookInfoCrawler bic = (BookInfoCrawler) rc; |
|
|
|
BookInfoCrawler bic = (BookInfoCrawler) rc; |
|
|
|
BookApi.getBookInfo(data, bic).compose(RxUtils::toSimpleSingle) |
|
|
|
BookApi.getBookInfo(data, bic).compose(RxUtils::toSimpleSingle) |
|
|
|