0

I'm making restaurant app. Basically, there is a menu of week for 3 kinds of food. If i made create table and add menu in DBHandler class(on Create), would it be okay? because i'm thinking every time user open the app it will add more menu into table. So my main question is :"If i did that, any error in future?" and im new to android

Kitsune Hifu
  • 29
  • 1
  • 3
  • Possible duplicate of [When is SQLiteOpenHelper onCreate() / onUpgrade() run?](http://stackoverflow.com/questions/21881992/when-is-sqliteopenhelper-oncreate-onupgrade-run) – Mike M. Jun 23 '16 at 05:49

1 Answers1

0

The Documantation says:

The onCreate() method only called when the database is created for the first time. So,there is no error in future.

Manish Karena
  • 724
  • 6
  • 29