Closed Rainer-Lang closed 9 years ago
In SampleApp there is: public DbOpenHelper(@NonNull Context context)
public DbOpenHelper(@NonNull Context context)
but shouldn't it be: public DatabaseHelper(Context context, String dbName, null, int dbVersion)?
public DatabaseHelper(Context context, String dbName, null, int dbVersion)
Or should be the db-version-number be provided directly with a constant?
public DbOpenHelper(@NonNull Context context) { super(context, Constant.DB_NAME_STORIO, null, Constant.DB_VERSION); }
What's the preferred way with StorIO?
It does not related to StorIO at all :)
Usually we use constructor with just context in our projects.
context
In SampleApp there is:
public DbOpenHelper(@NonNull Context context)
but shouldn't it be:
public DatabaseHelper(Context context, String dbName, null, int dbVersion)
?Or should be the db-version-number be provided directly with a constant?
What's the preferred way with StorIO?