How to insert value in data base using SQLite extend class in android?

exchange this line

public db_helper(@Nullable Context context) 

to this

public db_helper(@NotNull Context context)

and pass proper Context to it. Context just can’t be null for SQLiteDatabase

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top