1 комментарий для “SQLite База Данных на Андроид (KOTLIN)/ Урок 17”
Анатолий
Добрый день Сергей
вопрос почему у меня SQLiteOpenHelper подчеркивает красной полосой
class MyDbHelper (context: Context) : SQLiteOpenHelper(context,MyDbNameClass.DATABASE_NAME,
e: D:\Android_Studio\LessonSQLiteKotlin\app\src\main\java\com\example\lessonsqlitekotlin\db\MyDbHelper.kt: (6, 39): None of the following functions can be called with the arguments supplied:
public constructor SQLiteOpenHelper(p0: Context?, p1: String?, p2: SQLiteDatabase.CursorFactory?, p3: Int) defined in android.database.sqlite.SQLiteOpenHelper
public constructor SQLiteOpenHelper(p0: Context?, p1: String?, p2: Int, p3: SQLiteDatabase.OpenParams) defined in android.database.sqlite.SQLiteOpenHelper
Добрый день Сергей
вопрос почему у меня SQLiteOpenHelper подчеркивает красной полосой
class MyDbHelper (context: Context) : SQLiteOpenHelper(context,MyDbNameClass.DATABASE_NAME,
e: D:\Android_Studio\LessonSQLiteKotlin\app\src\main\java\com\example\lessonsqlitekotlin\db\MyDbHelper.kt: (6, 39): None of the following functions can be called with the arguments supplied:
public constructor SQLiteOpenHelper(p0: Context?, p1: String?, p2: SQLiteDatabase.CursorFactory?, p3: Int) defined in android.database.sqlite.SQLiteOpenHelper
public constructor SQLiteOpenHelper(p0: Context?, p1: String?, p2: Int, p3: SQLiteDatabase.OpenParams) defined in android.database.sqlite.SQLiteOpenHelper