Hello.
I'm developing an Android application with a database. That database will have more than three tables.
Now I'm working on a class called DBAdapter
to access the SQLite Database.
DBAdpater will have five methods for every table on database (insertEntry, removeEntry, getAllEntries, getEntry
and updateEntry
).
So, if I have five table, DBApadter will have more than twenty-five methods. I think is so huge.
How may DBAdapter classes should be?
Thanks.