Is it better to have a single big SQLiteOpenHelper
subclass that defines onCreate
and onUpgrade
methods for every table in the database, or is better to have many SQLiteOpenHelper
subclasses, one for each table?
Is there a best practice? Or are both acceptable, but with different good and bad side effects?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…