Code example for StringBuilder

Methods: append, toString

0
    } 
 
    @Override 
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
        Log.w(TAG,
            "Upgrading database from version " + oldVersion + " to " + newVersion
            + ", which will destroy all old data"); 
        db.execSQL("DROP TABLE IF EXISTS Category");
        db.execSQL("DROP TABLE IF EXISTS Pair");
        db.execSQL("DROP TABLE IF EXISTS Repetition");
        // db.execSQL("DROP TABLE IF EXISTS " + Tables.ID_POOL); 
        onCreate(db);
    } 
 
    public interface SyncColumns { 
        public static final String MODIFIED = "modified";
        public static final String CREATED = "created";
        public static final String NEEDS_SYNC = "needs_sync";
        public static final String DELETED = "deleted";
    }