mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 02:39:23 +02:00
Catalog loading changes
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1614 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
c363a06058
commit
06b2ffc2bc
7 changed files with 14 additions and 66 deletions
|
@ -414,9 +414,6 @@ public class NetworkLibrary {
|
|||
public synchronized void onNewItem(NetworkLibraryItem item) {
|
||||
listener.onNewItem(item);
|
||||
}
|
||||
public synchronized boolean requestInterrupt() {
|
||||
return listener.requestInterrupt();
|
||||
}
|
||||
public synchronized boolean confirmInterrupt() {
|
||||
return listener.confirmInterrupt();
|
||||
}
|
||||
|
@ -444,6 +441,9 @@ public class NetworkLibrary {
|
|||
|
||||
requestList.clear();
|
||||
|
||||
if (listener.confirmInterrupt()) {
|
||||
return null;
|
||||
}
|
||||
for (NetworkOperationData data: dataList) {
|
||||
ZLNetworkRequest request = data.resume();
|
||||
if (request != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue