SQLiteOpenHelper “onCreate” is not called? (the DB does not exist)

前端 未结 5 1081
[愿得一人]
[愿得一人] 2021-01-19 21:54

From a fragment I instantiate this way

fmdata = new FileManagerData(getActivity());

the following class. I don\'t understand why onCreate()

5条回答
  •  抹茶落季
    2021-01-19 22:33

    Uninstalling the app will remove the db, and thus will call onCreate on next run.

提交回复
热议问题