Picasso: Extension to load images with Picasso

1.Introduction

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

2.Blocks


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.

Delete cache if you want to load fresh image
image

4.Source Code

You can find the source code at the below repo:

5.Downloads

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

6.Liked my work

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

7.Updates

ChangeLog Version 1.1

New blocks
image

Changes

  • Enabled enableIndicators property

Hope it helps!

8 Likes

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

2 Likes

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.

2 Likes

But where is the advantage over the Image component?

Screenshots / Blocks

Second from Image component:

3 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 block 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
2 Likes

Nice extension @vknow360
You are building extensions very fastly :heart_eyes:

1 Like

@vknow360 Please remove READ permission request for the ASD.

2 Likes

You can compile the desired version from github repo. :sweat_smile:

1 Like

ChangeLog Version 1.1

New blocks
image

Changes

  • Enabled enableIndicators property