// Called when there is a database version mismatch, meaning that the version // of the database on disk needs to be upgraded to the current version. @Override public void onUpgrade(SQLiteDatabase database, int oldVersion, int newVersion) { CardCursorContract.CardCursor.onUpgrade(database, oldVersion, newVersion); }
// Called when no database exists in disk and the helper class needs // to create a new one. @Override public void onCreate(SQLiteDatabase database) { CardCursorContract.CardCursor.onCreate(database); }