Add restore download items
This commit is contained in:
1 parent
c4ccaa58bb
commit
15d915b6be
15 files changed
+313
-103
No files matched your search
@@ -162,7 +162,7 @@ public class EhEngine {
|
||||
}
|
||||
|
||||
// At least, GalleryInfo contain valid gid and token
|
||||
public static Void fillGalleryListByApi(EhClient.Task task, OkHttpClient okHttpClient,
|
||||
public static List<GalleryInfo> fillGalleryListByApi(EhClient.Task task, OkHttpClient okHttpClient,
|
||||
List<GalleryInfo> galleryInfoList) throws Exception {
|
||||
// We can only request 25 items one time at most
|
||||
final int MAX_REQUEST_SIZE = 25;
|
||||
@@ -174,7 +174,7 @@ public class EhEngine {
|
||||
requestItems.clear();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
return galleryInfoList;
|
||||
}
|
||||
|
||||
private static void doFillGalleryListByApi(EhClient.Task task, OkHttpClient okHttpClient,
|
||||
|
||||
Reference in new issue
Block a user