1
0
Fork 0
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:
Vasiliy Bout 2010-07-21 16:41:52 +00:00
parent c363a06058
commit 06b2ffc2bc
7 changed files with 14 additions and 66 deletions

View file

@ -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) {