In this video we will use Square’s Picasso library to load an image from a URL into our app using the with, load and into methods.
Source code, dependency, instructions etc:
____________________
❗ Subscribe to the channel:
⏯ Watch more tutorials:
㊙ Help translating the videos:
💚 Support the content:
💬 Join the Discord chat:
🎧 Audiobooks and podcasts for programmers:
👶 How to get started with Android development:
📣 Follow Coding in Flow on social media:
Facebook:
Instagram:
Twitter:
Blog:
Nguồn: https://midlandlangarseva.com/
Xem thêm bài viết khác: https://midlandlangarseva.com/cong-nghe/
In the newer versions of Picasso, you have to use Picasso.get() instead of Picasso.with(context)
Thank you.
how to blur with picasso image from url?
Thank you. Do you have a video that teaches how to download a file from a site and save it in Android?
Dude…you are an absolute GOD! THANK YOU!!!
Can we pick video and other files instead of image by using Picasso Library?
make tutorial with glide as well.
Hello sir,
i like the way you make it simple any stuff. Thanks a lot.
I really like your simplicity in explaining everything, you will be a great teacher.
Thank you.
Thank You So0o0o0o0o0o Much
just 1 thing => You are awesome <3
try {
// Picasso.get().load(image).into(profileIv);
Picasso.get().load(image).into(profileIv);
Toast.makeText(getActivity(),"Line 185 ",Toast.LENGTH_SHORT).show();
}
catch (Exception e){
Picasso.get().load(R.drawable.ic_add_a_pic).into(profileIv);
Toast.makeText(getActivity(),"Line 191 ",Toast.LENGTH_SHORT).show();
}
Try is Not Working … Directly Going To Catch …. Help Please !!
your sound is very charismatic
Thanks ❤️
how to show a progress bar while loading image from URL using Picasso .
thanks in advance
I'm watching your every single video, even I don't need to because I know pretty much about Android development but I love watching your videos, your way of explaination and small details are always rocks🔥♥️
How can I get these images …
THANK YOU MATE 😀 LITTLE CORRECTION BECASUE "WITH" HAS CHANGED TO "GET" (WITHOUT this).
if (url.isEmpty()) {
//imageView.setVisibility(View.VISIBLE);
Picasso.get().load(url2).into(imageView);
} else {
//imageView.setVisibility(View.VISIBLE);
Picasso.get().load(url).into(imageView);
}
BEST REGARDS 😉
please make a video how to download webpage and extract images from it and show in the app.
It worked on my laptop but when going on my desktop, I have "cannot resolve symbol picasso" (I added the implementation)
thanks you !
you're awesome cos u solve my issue , really thank u very much
how can l get image url?