I'd like to know how to load the image URL in DB into Android image view.

Asked 2 years ago, Updated 2 years ago, 128 views

Can anyone tell me how to upload an image to Amazon S3 and save the image link to DB and come to Android image view?

android s3 amazon

2022-09-22 12:44

1 Answers

On Android, there is a library called Picasso.

ImageView imageView = (ImageView) findViewById(R.id.imageView);
Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);

You can use it simply like above.

You should learn how to save the URL to the DB using SQLite to save the data.

Note: http://cocomo.tistory.com/409


2022-09-22 12:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.