public abstract class SQLiteUpdateTask extends Object
SQLite schema upgrade to version currentVersion from currentVersion-1. When you create an update task, you just to specify currentVersion, because the previuos version is the same minus 1.
| Modifier and Type | Field and Description |
|---|---|
int |
currentVersion |
int |
previousVersion |
| Constructor and Description |
|---|
SQLiteUpdateTask(int currentVersion) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(android.database.sqlite.SQLiteDatabase database)
method to execute to launch build update from previous version to current version
|
Copyright © 2017. All rights reserved.