* fix: handle nullable nextPage behavior when searching albums #12401 * feat: add nullable annotation to newPage attribute in SearchFragment * Updated more usages of InfoItemsPage#getNextPage. Nullability is already handled in these areas so no other changes needed --------- Co-authored-by: Siddhesh Naik <siddheshnaik20@protonmail.com>
This commit is contained in:
parent
45589dbf26
commit
a4bd82be8a
3 changed files with 6 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ package org.schabi.newpipe.player.playqueue;
|
|||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import org.schabi.newpipe.extractor.InfoItem;
|
||||
import org.schabi.newpipe.extractor.ListExtractor;
|
||||
|
|
@ -23,6 +24,7 @@ abstract class AbstractInfoPlayQueue<T extends ListInfo<? extends InfoItem>>
|
|||
|
||||
final int serviceId;
|
||||
final String baseUrl;
|
||||
@Nullable
|
||||
Page nextPage;
|
||||
|
||||
private transient Disposable fetchReactor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue