All Projects → tortuvshin → slight

tortuvshin / slight

Licence: MIT License
Easy, sample and flexible library for loading, caching and displaying images on Android. written in Kotlin

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to slight

image-loader
Image loading library for Android
Stars: ✭ 19 (-34.48%)
Mutual labels:  image-loader, imageloader
AppIconLoader
Android app icon loader from AOSP iconloaderlib
Stars: ✭ 112 (+286.21%)
Mutual labels:  image-loader, imageloader
SvgGlidePlugins
Plugins for Glide 4 image loading libraries for load SVG
Stars: ✭ 60 (+106.9%)
Mutual labels:  imageloader
image-cache
NodeJS Image cache with Base64 format
Stars: ✭ 18 (-37.93%)
Mutual labels:  image-cache
neon
Provides Jetpack Compose support for different image loading libraries.
Stars: ✭ 13 (-55.17%)
Mutual labels:  imageloader
FlexibleHeader
A container view that responds to scrolling of UIScrollView
Stars: ✭ 69 (+137.93%)
Mutual labels:  flexible-library
TJImageCache
A fast, easy to use Objective-C image cache
Stars: ✭ 25 (-13.79%)
Mutual labels:  image-cache
vue-load-image
A Vue component for showing loader during image loading https://john015.github.io/vue-load-image/
Stars: ✭ 60 (+106.9%)
Mutual labels:  image-loader
angular-image-loader
A simple progressive, responsive, lazy image and video loading library for Angular that detects browser size and loads the appropriate image or video only when the element is in viewport. This package requires @thisissoon/angular-inviewport
Stars: ✭ 21 (-27.59%)
Mutual labels:  image-loader
pixel
A lightweight image loader for Android backed by Kotlin Coroutines.
Stars: ✭ 79 (+172.41%)
Mutual labels:  image-loader
React Native Fast Image
🚩 FastImage, performant React Native image component.
Stars: ✭ 6,500 (+22313.79%)
Mutual labels:  image-cache
Sketch
Sketch 是 Android 上一个强大且全面的图片加载器,支持 GIF,手势缩放以及分块显示超大图片。Sketch is a powerful and comprehensive image loader on Android, with support for GIF, gesture zooming, block display super large image
Stars: ✭ 1,557 (+5268.97%)
Mutual labels:  image-loader
Coil
Image loading for Android backed by Kotlin Coroutines.
Stars: ✭ 7,469 (+25655.17%)
Mutual labels:  image-loader
v-lazy-img
simplistic vue.js directive for image lazy loading
Stars: ✭ 25 (-13.79%)
Mutual labels:  image-loader
vue-image-loader
🌟 Async image loader plugin for Vue.js
Stars: ✭ 41 (+41.38%)
Mutual labels:  image-loader
Glideimageview
基于Glide V4.9.0封装的图片加载库,可以监听加载图片时的进度
Stars: ✭ 1,741 (+5903.45%)
Mutual labels:  imageloader
Glide
An image loading and caching library for Android focused on smooth scrolling
Stars: ✭ 32,046 (+110403.45%)
Mutual labels:  imageloader

Android Image Loader

Codacy Badge minSdkVersion compileSdkVersion

Easy, sample and flexible library for loading, caching and displaying images on Android.

How to include

With gradle: edit your build.gradle:

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

dependencies {
    compile 'com.github.intelligo-systems:slight:1.1.3'
}

Or declare it into your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
    <groupId>com.github.intelligo-systems</groupId>
    <artifactId>slight</artifactId>
    <version>1.1.3</version>
</dependency>

How to use

Basic Usage

add the following permissions to your AndroidManifest.xml:

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Java

@Override 
public void onCreate(Bundle savedInstanceState) {
  ...
  ImageView imageView = (ImageView) findViewById(R.id.my_image_view);
  
  ImageLoader imageLoader = new ImageLoader(context);
  
  imageLoader.DisplayImage(url, imageView);
}

Kotlin

override fun onCreate(savedInstanceState: Bundle?) {
    ...
    val imageView = findViewById(R.id.my_image_view) as ImageView

    val imageLoader = ImageLoader(this)

    imageLoader.DisplayImage(url, imageView)
}
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].