コード例 #1
0
 // 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);
 }
コード例 #2
0
 // 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);
 }