APISonar


com.hippo.ehviewer.dao.DownloadsDao.Properties.Time

> com > hippo > ehviewer > dao > DownloadsDao > Properties > Time
com APIs hippo APIs ehviewer APIs dao APIs DownloadsDao APIs Properties APIs Time APIs

Example 1
public static synchronized List<DownloadInfo> getAllDownloadInfo() {
        DownloadsDao dao = sDaoSession.getDownloadsDao();
        List<DownloadInfo> list = dao.queryBuilder().orderDesc(DownloadsDao.Properties.Time).list();
        // Fix state
        for (DownloadInfo info: list) {
            if (info.state == DownloadInfo.STATE_WAIT || info.state == DownloadInfo.STATE_DOWNLOAD) {
                info.state = DownloadInfo.STATE_NONE;
            }
        }
        return list;
    }