Picasso: Extension to load images with Picasso

1.Introduction

Description: Extension to load images with Picasso (For AI2 and its distros)
Latest Version: 1
Released: 2020-12-28T18:30:00Z
Last Updated: 2020-12-28T18:30:00Z

2.Blocks

image
image

3.Usages

The extension can be used with any view component.
A good example will be this:

image

If you want to resize image then make sure you provide both, height and width.

4.Source Code

You can find the source code at the below repo:

5.Downloads

Download Link1: com.sunny.Picasso.aix (164.8 KB)

Download Link2: https://drive.google.com/file/d/1ljZTfj7RyygAlBauMMPoIZNa-7enrVSH/view?usp=sharing

6.Liked my work

Thank you :heart:
Kindly PM me if you want to donate some amount.

Hope it helps!

4 Likes

What is Picasso? Does it mean like loading animation for the image?

1 Like

Picasso is an image loading and caching library.It does most of the work from its own and is very easy to use so it is best for new developers.

Unfortunately it does not support Gif loading.

1 Like

But where is the advantage over the Image component?

Screenshots / Blocks

Second from Image component:

2 Likes

Caching and transformation options.
Image loading libraries are not meant to be used for small size images.
They are used to dynamically load images.
It is similar to Glide, another same kind of library.

Nice Extension @vknow360 :heart_eyes: :+1:
Good Job :sunglasses: :+1:

1 Like

I see that the image loaded with Picasso is very blurry.

Therefore, it would be worth showing how the extension works in the sample aia file, so that you can see where it is superior to the image component. To make it easy to see when it is better to apply the extension and when the image component. After that, thanks for expanding and expanding your list of very useful extensions.

1 Like

Yes.
@Anke can you share the image url?

Creating an aia file for just this block is a very difficult task:

Here is your answer:

If you want a detailed comparison than here you go:

1 Like

Of course, I'll send it via PM.

1 Like

Here are my test results:
(Image1 is loaded with Picasso)


Because Vertical Arrangement != Image :sweat_smile:


How is it better than Image component?

  • does not blocks UI
  • caches image for future use
  • gives options for transformation
  • provides callbacks for image loading (Success and ErrorOccurred events)
  • options for placeholder and error images (useful for thumbnails)
  • works with all view components