Minimal changes to rework Favourite grabs
TODO: Reimpl goto, refresh pages And take care of per page counts by user
This commit is contained in:
1 parent
6d1e0089e5
commit
567b6f7659
8 files changed
+45
-17
No files matched your search
@@ -47,6 +47,10 @@ import java.util.Objects;
|
||||
|
||||
public final class CommonOperations {
|
||||
|
||||
public static int getPagesForFounds(int founds, int per) {
|
||||
return (int)Math.ceil((double) founds/per);
|
||||
}
|
||||
|
||||
private static void doAddToFavorites(Activity activity, GalleryInfo galleryInfo,
|
||||
int slot, EhClient.Callback<Void> listener) {
|
||||
if (slot == -1) {
|
||||
|
||||
Reference in new issue
Block a user