<How to hide items in Room Database based on a Boo...
# stackoverflow
u
How to hide items in Room Database based on a Boolean/ Condition I have a Todo Application and I want to hide the tasks based on its completed status(strikeThrough over the text). However, the hideCompleted tasks implementation I followed isn't working but the sort and search is working and I said this because I put all the Implementations in a single query and made them work together with stateFlow but the hide isn't working. Here is my code. First My Model class import androidx.room.Entity import androidx.room.PrimaryKey import java.util.* /** Our Model...