static boolean hasSplashColors(Context context, Podcast podcast, @Nullable String splashUrl) {
PodcastsOpenHelper helper = new PodcastsOpenHelper(context, PODCASTS_DATABASE_NAME);
String[] args = args(podcast.getId());
try (SQLiteDatabase database = helper.getReadableDatabase(); Cursor cursor = database.rawQuery(PODCAST_COLORS_SELECT_SQL, args)) {
if (cursor.moveToNext()) {
return hasColors(cursor, 3, splashUrl);
}
}
return false;
}
PodcastsUtils.java 文件源码
java
阅读 45
收藏 0
点赞 0
评论 0
项目:lighthouse
作者:
评论列表
文章目录