Does SQLiteOpenHelper class onCreate() method calls automatically when i call getWritableDatabase() method?
I am creating a table using SQLite Database. Create table query is executing inside onCreate() method. For calling this onCreate() method does i need to call it from MainActivity or simply call getWritableDatabase() of SQLiteOpenHelper class?
Aucun commentaire:
Enregistrer un commentaire