Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter : Picasso or Universal Image loader equivalent

I'm new to Google flutter sdk for developing app for Android and ios,
I want to load images in a large ListView ,
I want to load images asynchronously and using caching , in Android JAVA/Kotlin I use Picasso, how can I get similar behavior in Flutter?

official flutter ListView example : What is the alternative to a ListView in Flutter

like image 794
Mneckoee Avatar asked Feb 01 '18 05:02

Mneckoee


People also ask

What is the use of Picasso in Android Studio?

Picasso is open source and one of the widely used image download libraries in Android. It is created and maintained by Square. It is among the powerful image download and caching library for Android. Picasso simplifies the process of loading images from external URLs and displays them on your application.

How will you load an image into an imageView from an image URL using Picasso and display custom image if there is an error while loading the image?

Image loading using Picasso is very easy, you can do it like this way Picasso. get(). load("http://i.imgur.com/DvpvklR.png").into(imageView); and in their website you can get every details. In your case you can parse every image URL and use RecyclerView to show them along with Picasso.


1 Answers

If you want to load and cache your images you could use the CachedNetworkImageProvider. It is still in development, but working quite well.

like image 133
Rene Avatar answered Nov 11 '22 21:11

Rene