APISonar


me.itangqi.buildingblocks.model.entity.DailyResult.date

> me > itangqi > buildingblocks > model > entity > DailyResult > date
me APIs itangqi APIs buildingblocks APIs model APIs entity APIs DailyResult APIs date APIs

Example 1
private void insertDailyStoriesDB(DailyResult dailyResult) {
        SQLiteDatabase database = mSQLiteHelper.getWritableDatabase();
        for (Daily story : dailyResult.stories) {
            String sql = "INSERT OR IGNORE INTO dailyresult(date, id, title, image, type, ga_prefix) values(?,?,?,?,?,?)";
            database.execSQL(sql, new Object[]{dailyResult.date, story.id, story.title, story.image, story.type, story.ga_prefix});
        }
        database.close();
    }