feat: add channel tabs

This commit is contained in:
ThetaDev 2022-10-23 10:27:35 +02:00 committed by Stypox
parent 7e2ab0d384
commit 6d13cf5e71
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
12 changed files with 997 additions and 543 deletions

View file

@ -19,7 +19,7 @@ import org.schabi.newpipe.extractor.NewPipe;
import org.schabi.newpipe.extractor.StreamingService;
import org.schabi.newpipe.extractor.exceptions.ExtractionException;
import org.schabi.newpipe.fragments.BlankFragment;
import org.schabi.newpipe.fragments.list.channel.ChannelFragment;
import org.schabi.newpipe.fragments.list.channel.ChannelVideosFragment;
import org.schabi.newpipe.fragments.list.kiosk.DefaultKioskFragment;
import org.schabi.newpipe.fragments.list.kiosk.KioskFragment;
import org.schabi.newpipe.fragments.list.playlist.PlaylistFragment;
@ -432,8 +432,8 @@ public abstract class Tab {
}
@Override
public ChannelFragment getFragment(final Context context) {
return ChannelFragment.getInstance(channelServiceId, channelUrl, channelName);
public ChannelVideosFragment getFragment(final Context context) {
return ChannelVideosFragment.getInstance(channelServiceId, channelUrl, channelName);
}
@Override