Ejemplo n.º 1
0
  /**
   * 添加Jokes缓存
   *
   * @param result
   * @param page
   */
  @Override
  public void addResultCache(String result, int page) {
    PictureCache pictureCache = new PictureCache();
    pictureCache.setResult(result);
    pictureCache.setPage(page);
    pictureCache.setTime(System.currentTimeMillis());

    mPictureCacheDao.insert(pictureCache);
  }