mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-09-28 11:51:51 +00:00
Add ability to hide played items in a feed
- Use components from the new Groupie list library for displaying the feed list.
This commit is contained in:
@@ -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
|
||||
)
|
||||
Reference in New Issue
Block a user