All Projects → yuriy-budiyev → image-loader

yuriy-budiyev / image-loader

Licence: MIT license
Image loading library for Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to image-loader

AppIconLoader
Android app icon loader from AOSP iconloaderlib
Stars: ✭ 112 (+489.47%)
Mutual labels:  image-loader, imageloader
slight
Easy, sample and flexible library for loading, caching and displaying images on Android. written in Kotlin
Stars: ✭ 29 (+52.63%)
Mutual labels:  image-loader, imageloader
CodablePersist
Store and Cache Anything Codable
Stars: ✭ 18 (-5.26%)
Mutual labels:  memory-cache, disk-cache
Cache
📦 Nothing but Cache.
Stars: ✭ 2,491 (+13010.53%)
Mutual labels:  memory-cache, disk-cache
Glide
An image loading and caching library for Android focused on smooth scrolling
Stars: ✭ 32,046 (+168563.16%)
Mutual labels:  disk-cache, imageloader
SwiftlyCache
SwiftlyCache is a thread safe IOS general cache Library
Stars: ✭ 84 (+342.11%)
Mutual labels:  memory-cache, disk-cache
AVLoadingIndicatorView
DEPRECATED
Stars: ✭ 9,655 (+50715.79%)
Mutual labels:  loading
memcacher
C++ implementation of Memcache Binary Protocol.
Stars: ✭ 16 (-15.79%)
Mutual labels:  memory-cache
vue-splash
splash plugin for vue js
Stars: ✭ 120 (+531.58%)
Mutual labels:  loading
XHLoadingView
🚀A load Loading page state view,load,no network,empty data,load failure state switch.
Stars: ✭ 58 (+205.26%)
Mutual labels:  loading
SvgGlidePlugins
Plugins for Glide 4 image loading libraries for load SVG
Stars: ✭ 60 (+215.79%)
Mutual labels:  imageloader
blurry-image-load
A progressive image loading library. Inspired by Medium’s similar technique.
Stars: ✭ 26 (+36.84%)
Mutual labels:  image-loading
nuxt-speedkit
nuxt-speedkit will help you to improve the lighthouse performance score (100/100) of your website.
Stars: ✭ 401 (+2010.53%)
Mutual labels:  image-loading
BookLoadingView
不知道有什么用的加载页面
Stars: ✭ 40 (+110.53%)
Mutual labels:  loading
.NetCorePluginManager
.Net Core Plugin Manager, extend web applications using plugin technology enabling true SOLID and DRY principles when developing applications
Stars: ✭ 17 (-10.53%)
Mutual labels:  memory-cache
cpp-indicators
A very simple, easy-to-use, and single-header-only C++ library for console based indicators (loading spinners)
Stars: ✭ 13 (-31.58%)
Mutual labels:  loading
react-apollo-mutation-state
A React HOC wrapper for Apollo GraphQL mutation, provides loading and error in props
Stars: ✭ 16 (-15.79%)
Mutual labels:  loading
mobx-loading
参考了 dva-loading 的思路,基于 mobx 实现了用于监控各个 mode 和 effect 加载状态的组件
Stars: ✭ 23 (+21.05%)
Mutual labels:  loading
vue-loading
Loading bar for Vue.js apps using axios
Stars: ✭ 19 (+0%)
Mutual labels:  loading
spinnies
Node.js module to create and manage multiple spinners in command-line interface programs
Stars: ✭ 111 (+484.21%)
Mutual labels:  loading

Image Loader

Release Android Arsenal API

Image loader library for Android.

Features

  • Image transformations
  • Automatic memory and storage caching
  • Ability to load images from any custom data type
  • Both synchronous and asynchronous image loading modes
  • Almost unlimited customization

Usage (sample)

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {

    repositories {

        maven { url 'https://jitpack.io' }
   }
}

or in settings.gradle file:

dependencyResolutionManagement {

    repositories {

        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add dependency:

dependencies {
    implementation 'com.github.yuriy-budiyev:image-loader:2.5.8'
}

And load images simply:

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ImageView view = findViewById(R.id.image_view);

        // Simply load image from URL into view
        ImageLoader.with(this).from("https://some.url/image").load(view);

        // Advanced usage
        ImageLoader.with(this)
                /*Create new load request for specified data.
                  Data types supported by default: URIs (remote and local), 
                  files, file descriptors, resources and byte arrays.*/
                .from("https://some.url/image")
                /*Required image size (to load sampled bitmaps)*/
                .size(1000, 1000)
                /*Display loaded image with rounded corners, optionally, specify corner radius*/
                .roundCorners()
                /*Placeholder drawable*/
                .placeholder(new ColorDrawable(Color.LTGRAY))
                /*Error drawable*/
                .errorDrawable(new ColorDrawable(Color.RED))
                /*Apply transformations*/
                .transform(ImageUtils.cropCenter())
                .transform(ImageUtils.convertToGrayScale())
                /*Load image into view*/
                .load(view);
                /*Also, load, error and display callbacks can be specified for each request*/

        // Load image asynchronously without displaying it
        ImageLoader.with(this).from("https://some.url/image").onLoaded(new LoadCallback() {
            @Override
            public void onLoaded(@NonNull Bitmap image) {
                // Do something with image here
            }
        }).load();

        // Load image synchronously (on current thread), should be executed on a worker thread
        //Bitmap image = ImageLoader.with(this).from("https://some.url/image").loadSync();                 
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].