How to use CursorWrapper to filter Cursor rows
I want to filter out some rows returned by a Cursor based on a specific condition (which I want to test after receiving the rows from the database, because it's not easy to add it to a WHERE clause in the SQL query). I found the following related questions: Filter rows from Cursor so they don't show up in ListView , Filtering a cursor the right way? , and How to hide specific rows of a Cursor in android . I want to implement exactly what those questions are asking. While the answers to those questions show how to implement a CursorWrapper (which I have done), I don't know how to then link that