I’ve been reading about having multiples tables in a SQLite database in Android.
One approach is to have 1 adapter class for each table, and each adapter will implement CRUDs methods for each table.
My questions are:
- Is this the best aproach to handling differents tables in one SQLite database?.
- In this case, how can I execute sql queries between tables?.
Make various instances of SQLiteHelper
sqLiteHelper1,sqLiteHelper2;using
sqLiteDatabase1,sqLiteDatabase2, access the data of different tables..I hope this works 🙂