-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove playlist preview dependency on external HTTP calls
- Loading branch information
1 parent
60f9459
commit 0f50b8b
Showing
7 changed files
with
92 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
app/src/main/java/org/schabi/newpipe/compose/playlist/PlaylistInfo.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.schabi.newpipe.compose.playlist | ||
|
||
import androidx.compose.runtime.Immutable | ||
import org.schabi.newpipe.extractor.Image | ||
import org.schabi.newpipe.extractor.Page | ||
import org.schabi.newpipe.extractor.stream.Description | ||
import org.schabi.newpipe.extractor.stream.StreamInfoItem | ||
|
||
@Immutable | ||
class PlaylistInfo( | ||
val id: String, | ||
val serviceId: Int, | ||
val url: String, | ||
val name: String, | ||
val description: Description, | ||
val relatedItems: List<StreamInfoItem>, | ||
val streamCount: Long, | ||
val uploaderUrl: String?, | ||
val uploaderName: String?, | ||
val uploaderAvatars: List<Image>, | ||
val nextPage: Page? | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters