Created
June 21, 2016 07:10
-
-
Save kitek/9aa2c14ac8bd5aac3c57272868c0d4b5 to your computer and use it in GitHub Desktop.
Kotlin DbHelper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context | |
import android.database.sqlite.SQLiteDatabase | |
import android.database.sqlite.SQLiteOpenHelper | |
class DbHelper(context: Context) : SQLiteOpenHelper(context, "some.db", null, 1) { | |
override fun onUpgrade(db: SQLiteDatabase?, oldVersion: Int, newVersion: Int) { | |
} | |
override fun onCreate(db: SQLiteDatabase?) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment