Beispiel #1
0
 @Override
 public LoadData<Data> buildLoadData(Uri uri, int width, int height, Options options) {
   GlideUrl glideUrl = new GlideUrl(uri.toString());
   return urlLoader.buildLoadData(glideUrl, width, height, options);
 }
Beispiel #2
0
  @Override
  public LoadData<Data> buildLoadData(Integer model, int width, int height, Options options) {

    Uri uri = getResourceUri(model);
    return uri == null ? null : uriLoader.buildLoadData(uri, width, height, options);
  }