[F/OS] Image Loader - Extension for image loading and caching

Image Loader

Hi everyone,
Today I present a new extension based on Universal Image Loader that allows you to load and cache images.

Demo

Event

  • OnLoadingStarted: Event when the loading of the image is started. The url returns the URL of the image.

OnLoadingStarted

  • OnLoadingFailed: Event when the image is failed to load. The url returns the URL of the image.

OnLoadingFailed

  • OnLoadingComplete: Event when the image is loaded. The url returns the URL of the image.

OnLoadingComplete

  • OnProgress: Event when the image is loading. The url returns the URL of the image, current returns the current size of the image in bytes, total returns the total size in bytes of the image that is loading.

OnProgress

Methods

  • LoadImage: This method loads the image in the image component. Parameters : imageComponent: The image component where the image will be displayed. url: The URL of the image you want to load.

component_method (3)

  • LoadImageInArrangement: This method loads the image in the vertical/horizontal arrangement component. Parameters : hvArrangement: The vertical/horizontal arrangement component where the image will be displayed. url: The URL of the image you want to load.

imageHV

  • LoadImageAsync: This method loads the image Asynchronous in the image component. Parameters : imageComponent: The image component where the image will be displayed. url: The URL of the image you want to load.

async

  • LoadImageAsyncInArrangement: This method loads the image Asynchronous in the vertical/horizontal arrangement component. Parameters : hvArrangement: The vertical/horizontal arrangement component where the image will be displayed. url: The URL of the image you want to load.

LoadHvAsy

  • CacheImage: This method cache the image without display it. Parameters : url: The URL of the image you want to cache.

CacheImage

  • CachedImageExists: This method return true if the image is in the cache, and false if the image is not in cache. Parameters : url: The URL of the image you want to check.

ImageExists

  • DeleteCachedImage: This method delete image from the cache. Parameters : url: The URL of the image you want to delete from the cache.

DeleteCahted

ExtractCachedImage: This method extracts/copy the image from the cache and save it in a directory that you want. Parameters : url: The URL of the image you want to extract. saveIn: The directory where the image will be saved. extension: The extension of the image (for example: .png .jpg ).
ExtractMethod
Note: This method works only if WRITE_EXTERNAL_STORAGE is granted before loading/caching the image, see the example below.
ExtractCachedImage Usage

  • ClearDiskCache: This method clean the Disk Cache.

component_method (4)

  • ClearMemoryCache: This method clean the Memory Cache.

component_method (5)

  • PauseLoading: All images that are loading will be paused.

pause

  • ResumeLoading: All images that are paused will be resumed.

resume

  • StopLoading: All images that are loading will be stopped.

stop

Properties

  • DisableCacheOnDisk: If it is checked, it won’t cache on disk.

disk

  • DisableCacheInMemory: If it is checked, it won’t cache in memory.

memory

  • LoadingImage: The image that will be displayed when is loading.

loading

  • ErrorImage: The image that will be displayed when in case of an error.

error

Source code

Downloads

Aix: com.devyb.devybimageloader.aix (216.1 KB)

Aia: ImageLoader.aia (217.2 KB)

Apk: ImageLoader.apk (5.2 MB)

Latest Version: 6
Released:2020-06-21T22:00:00Z
Last Updated:2020-10-02T22:00:00Z

I hope you like this extension, and I hope it helps many users in our community to develop high-quality apps. :hugs:
If you liked this extension and you think it will be useful for the community, let me know with a :+1:.

84 Likes
How to store Images in cache memory?
Image utilities
5 Different Listviews using Dynamic component Extension | Guide
Image viewer app
Cloudinary image airtable loading error
How to save AirTable images to local storage?
Error displaying image via link
Wallpaper app 2 (Free) (Animations + Search bar)
Image is showing white in Dynamic Components
Can I hide this using Javascript?
Adding Circular Progress Right before Screen 2
Online image compress
How To Open Image From Screen to Another Screen Using Dynamic Component Extension
My app is showing black backgroud and stop working while loading images?
Get Picture/Image Properties
Dynamic images assync loading
My app is stucking for some time when list creates
Quizzer - Create or Join Online Test
Fantasy Cricket App with Admin pannel
[Custom]How to load data one by one on user scroll from Airtable, Firebase, Mysql
Companion Crashing a lot?
Cloudinary doubts
Imageview not showing image from url
How to compress image using DevYB compression extension and then load the image asynchronously using the image utilities component?
How to load the images efficiently from the database?
Dynamic components slow loading
Load images faster ?
How to scale your Images with ImageScale Extension
How can i load dynamic image asyncronously using image utilities?
Professional Aia Store app
App not responding
Carousel list view without paid aix
Dynamic List Load Faster
How apps with thousands of images and components load in 2-3 seconds?
How do I show a picture in the internal storage in the app?
I am using firebase storage to import images but it takes so much time and app is so much lagging app is stucking please help me
Save image from url
Load image from link?
[OS] Custom YT Channel App + Admin App
How to set the background image of Horizontal Arrangement to Url
Image loading time
Kindly read and answer before delisting
Image is not showing
Dynamic category wise list with dynamic item
[Guide] RecyclerList - Google Spreadsheet - Custom Search - How to Add/Delete/Update records
How to do dynamic image caching on kodular
Help with auto image slider (Banner Images)
Simple eBook app ( Boi-somver )
How can i make an app which stores the files of the user inside the app,he uploads a photo and the next time he open the app the photo will stay there
İmage Cropper | Open Source Code
How to make grid view for wallpaper app
OneSignal Notifications + Android 13 + Asking for permission
Permission Popup Android 13
Images not showing in listview from gsheet link and pict is in gdrive
[FREE] Image Utility - Extension for async image loading, caching and scaling
[LATEST] Quiz App with Category and Advanced Professional Features
Can anyone tell me how can i show image from url?
How to load Online Image without any permissions?
How to cache images
Dynamic Card with Dynamic Image
Image Component Does not Load image from URL
How to load one by image in dynamic image
Error 908 - Image Utility - Online Image Load Problem
Image is not loading
I'm looking for an extension
[FREE] Async Image Loader Extension - Simple asynchronous image loader with circular image
How to cache images
Switch Enable/Disable swiping of ViewPager
Dynamic Shopping Item Cards Template
App permission denied
image loading problem
[F/OS] - Dynamic Components Extension (for every component) 2.3.0
[F/OS] - Dynamic Components Extension (for every component) 2.3.0
Dynamic CardView Template
How to save webpages and images using tinyDB?
How to create a app cache cleenr app
Animation / Loading bar freezes during page loading
[PAID] Advanced Quiz Apps with Firebase Aia + Admin App
I need this type extension
D Wallpapers 2.0 🔥

Nice extension @DevYB

2 Likes

This may resume my work on wallpaper app.
Can I use it to load images from url will they load faster.

2 Likes

Yes, you can use it. watch the demo video.

5 Likes

Can use add a placeholder options to it. :grin:

1 Like

Sure, I’ll add it for the next update.

3 Likes

Nice extension…

Few more functionality on image utilities :+1:

Can I use any other component instead of image component? Like vertical arrangement, horizontal arrangement?
If I assigned it to load lots of images then will it load asynchronously ?

2 Likes

No, only image component is supported.

I Will try to add load images asynchronously for the next update.

3 Likes

Nice Extension. Good work.

extension size is large

1 Like

Thank you.
It’s little bit large because it contains the library.:sweat:

3 Likes

:confused::confused::confused:

I think so you must add the support for other components to.

4 Likes

Good job :+1:

You can try modifying the jar.

Good extension provide more functionality and try to reduce the size of extension . Otherwise extension is very very impressive . Good work :grinning:

2 Likes

Good extension
Good work :heart_eyes:

2 Likes

Thank you for helping the community. You did a beautiful job!

2 Likes

Nice Idea :grinning:, I will try to do it. Thank you.

1 Like

Nice Extension :heart_eyes:
Can we use this with Custom listview?

1 Like

Nice aix. …

1 Like

can we also load images as arrangement background? great extension btw

Good extention.keep it up

1 Like