public static interface AbstractDataSource.OnDatabaseUpdateListener
| Modifier and Type | Method and Description |
|---|---|
void |
onUpdate(android.database.sqlite.SQLiteDatabase db,
int oldVersion,
int newVersion,
boolean upgrade)
Method for DDL or DML
|
void onUpdate(android.database.sqlite.SQLiteDatabase db,
int oldVersion,
int newVersion,
boolean upgrade)
Method for DDL or DML
db - databaseoldVersion - current version of databasenewVersion - new version of databaseupgrade - if true is an upgrade operation, otherwise it's a download operation.Copyright © 2016. All rights reserved.