APISonar


com.hippo.ehviewer.dao.LocalFavoritesDao.Properties.Time

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

Example 1
public static synchronized List<GalleryInfo> searchLocalFavorites(String query) {
        query = SqlUtils.sqlEscapeString("%" + query+ "%");
        LocalFavoritesDao dao = sDaoSession.getLocalFavoritesDao();
        List<LocalFavoriteInfo> list = dao.queryBuilder().orderDesc(LocalFavoritesDao.Properties.Time)
                .where(LocalFavoritesDao.Properties.Title.like(query)).list();
        List<GalleryInfo> result = new ArrayList<>();
        result.addAll(list);
        return result;
    }