feat: add channel tabs

This commit is contained in:
ThetaDev 2022-10-23 10:27:35 +02:00 committed by Stypox
parent 04b7fe4939
commit 11f83b8e24
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