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:
Mauricio Colli
2021-06-09 15:53:51 +02:00
committed by Stypox
parent 56cd84c1fe
commit e846f69e38
21 changed files with 668 additions and 63 deletions
@@ -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
)