The [SQLiteOpenHelper] is a
A helper class to manage database creation and version management.
It might feel complicated, but once you understand how to use it, you would (hopefully) prefer [SQLiteOpenHelper] to multiple db.rawQuery
s.
I'll explain with the help of Login
and Signup
activities. We'll probably get something similar for the assess. So, two birds in one stone. :)
The (only) proper way of using SQLiteOpenHelper
is to extend and override some of its methods namely - onCreate
, onUpgrade