I Want To Retrieve The Image From Parse! Storing The Image In Parse Works! How Can I Get The Image From Parse In Imageview?
public class Profile extends Activity { ImageView personal_ImageView; private static final int SELECT_PICTURE = 100; private String selectedImagePath; private ParseObject totem;
Solution 1:
you may want to take a look at this:
http://square.github.io/picasso/
Cheers!
Code I used to retrieve image from parse using file URL.
ParseFile file = message.getParseFile(Insert Key File Here);
Uri fileUri = Uri.parse(file.getUrl());
Picasso.with(this).load(imageUri.toString()).into(imageView);
Then you can add a callback to Picasso if you want like so:
Picasso.with(this).load(imageUri.toString()).into(imageView, new com.squareup.picasso.Callback() {
@Override
public void onSuccess() {
//Success
}
@Override
public void onError() {
//Error Occurred
}
});
Post a Comment for "I Want To Retrieve The Image From Parse! Storing The Image In Parse Works! How Can I Get The Image From Parse In Imageview?"