Jesus Dimrix Jesus Dimrix - 6 months ago 39
Android Question

Is there any way to mark\flag a table in SQLite?

I am looking for a smart, simple way for my app to remember if my table is checked or not.

The logical way would be to create a table with the names of all tables and a boolean value for each one. Another way would be to do that with


Are there any other options that not involving the db, perhaps like a tag or something like that?

In the end, all I want is for the app to remember if a table set share or not.


This answer explains how to create your own subclass of which you can store global variables in. This same approach should help you achieve what you want to do without using a database or shared preferences.