Closed shiraeeshi closed 8 years ago
A very good code. I like your DB normalisation and "True or False" question optimisation.
Some questions popped in my mind. When do we need to close Cursor and SQLiteDatabase? Are their any advantages in using rawQuery over query/insert/..?
Are their any advantages in using rawQuery over query/insert/..?"
There are two strategies:
The former can be (may be not) a little bit faster. The latter is more secure (prevent sql injections).
Thank you for your contribution. You have done a lot of work, so I need some time to check and test the code before merging.