Yes it is. Unlike remote resources, the data is encoded in data URI it self (doesn't need I/O at all), so cache the string in disk doesn't make any sense.------------------ Original ------------------
From: "Dimitris"<notifications@github.com>
Date: Sun, Feb 16, 2014 12:10 PM
To: "square/picasso"<picasso@noreply.github.com>;
Cc: "ChiChou"<chichou@iceboy.org>;
Subject: Re: [picasso] Adding Data URI scheme support (#404)



In picasso/src/main/java/com/squareup/picasso/Base64BitmapHunter.java:
 > + > +import static com.squareup.picasso.Picasso.LoadedFrom.MEMORY; > + > +class Base64BitmapHunter extends BitmapHunter { > +  public static final String SCHEME_DATA = "data"; > + > +  private static final String MIME_PREFIX = "image/"; > +  private static final String SPLITTER = "base64,"; > + > +  Base64BitmapHunter(Picasso picasso, Dispatcher dispatcher, Cache cache, > +    Stats stats, Action action) { > +    super(picasso, dispatcher, cache, stats, action); > +  } > + > +  @Override Picasso.LoadedFrom getLoadedFrom() { > +    return MEMORY;  
Why is this MEMORY always? Am I missing something here?
 
&mdash;
Reply to this email directly or view it on GitHub.