-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to hide played items in a feed
- Use components from the new Groupie list library for displaying the feed list.
- Loading branch information
1 parent
65cd975
commit e79ca8a
Showing
23 changed files
with
663 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
17 changes: 17 additions & 0 deletions
17
app/src/main/java/org/schabi/newpipe/database/stream/StreamWithState.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,17 @@ | ||
package org.schabi.newpipe.database.stream | ||
|
||
import androidx.room.ColumnInfo | ||
import androidx.room.Embedded | ||
import org.schabi.newpipe.database.stream.model.StreamEntity | ||
import org.schabi.newpipe.database.stream.model.StreamStateEntity | ||
|
||
data class StreamWithState( | ||
@Embedded | ||
val stream: StreamEntity, | ||
|
||
@ColumnInfo(name = StreamStateEntity.STREAM_PROGRESS_TIME) | ||
val stateProgressTime: Long?, | ||
|
||
@ColumnInfo(name = "is_stream_in_history") | ||
val isInHistory: Boolean = false | ||
) |
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
Oops, something went wrong.