diff options
author | ByteHamster <info@bytehamster.com> | 2022-05-14 17:07:45 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-05-15 17:57:15 +0200 |
commit | 0510539e29345152df8b9fe4b9c45f6680032a44 (patch) | |
tree | 1e3c89226534328e8a1b9a759ae1f0415bebc509 /core/src/main | |
parent | 8cac0c71e4cfc76f01b5b8c3145e865b9f13cc99 (diff) | |
download | AntennaPod-0510539e29345152df8b9fe4b9c45f6680032a44.zip |
Fix 'load more' not detecting next page
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadRequest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadRequest.java b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadRequest.java index fc708ef6a..c085bc007 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadRequest.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadRequest.java @@ -271,7 +271,7 @@ public class DownloadRequest implements Parcelable { private boolean deleteOnFailure = false; private final long feedfileId; private final int feedfileType; - private Bundle arguments = new Bundle(); + private final Bundle arguments = new Bundle(); private boolean initiatedByUser = true; public Builder(@NonNull String destination, @NonNull FeedMedia media) { @@ -288,6 +288,7 @@ public class DownloadRequest implements Parcelable { this.title = feed.getHumanReadableIdentifier(); this.feedfileId = feed.getId(); this.feedfileType = feed.getTypeAsInt(); + arguments.putInt(REQUEST_ARG_PAGE_NR, feed.getPageNr()); } public Builder withInitiatedByUser(boolean initiatedByUser) { |