Fixed getting next page of feed
This commit is contained in:
parent
9f88e3c7c7
commit
2cbcdb97d1
|
@ -39,7 +39,7 @@ public class FeedSyncTask {
|
||||||
if (loadAllPages && feed.getNextPageLink() != null) {
|
if (loadAllPages && feed.getNextPageLink() != null) {
|
||||||
try {
|
try {
|
||||||
feed.setId(savedFeed.getId());
|
feed.setId(savedFeed.getId());
|
||||||
DBTasks.loadNextPageOfFeed(context, savedFeed, true);
|
DBTasks.loadNextPageOfFeed(context, feed, true);
|
||||||
} catch (DownloadRequestException e) {
|
} catch (DownloadRequestException e) {
|
||||||
Log.e(TAG, "Error trying to load next page", e);
|
Log.e(TAG, "Error trying to load next page", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue