I'm using shared preferences to store some images thumbnails, these thumbnails are like the following :
"image:\/\/http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fwBtEVh8Q5dglfjyulGZtgXVy9qi.jpg\/"
and :
"image:\/\/http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fojgf8iJpS4VX6jJfWGLpuEx0wm.jpg\/"
I found that when put some regular Strings into it it works efficiently and I can get it without any problems(that makes me make sure that my code doesn't have any problems), but when putting these thumbnails and trying to get it back it can't find it. So, is there's some String formats that the SharedPreferences don't take?
And this is my code(if needed):
to put :
SharedPreferences sharedPreferences = PreferenceManager
                    .getDefaultSharedPreferences(this);
Editor editor = sharedPreferences.edit();
editor.putString(thumbnail, "some string");
editor.commit();
to get:
String  def_value = sharedPreferences.getString(thumbnail, "value");
 
     
     
    