All Projects → cesarferreira → faker

cesarferreira / faker

Licence: MIT license
A kotlin extension to load images asynchronously on android

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to faker

autoload
Aplus Framework Autoload Library
Stars: ✭ 18 (-68.97%)
Mutual labels:  loader
webpack-image-srcset-loader
Generate srcset string from image
Stars: ✭ 28 (-51.72%)
Mutual labels:  loader
react-intl-loader
Async react-intl locale data loader for webpack
Stars: ✭ 46 (-20.69%)
Mutual labels:  loader
webpack-modernizr-loader
Get your modernizr build bundled with webpack, use modernizr with webpack easily
Stars: ✭ 35 (-39.66%)
Mutual labels:  loader
tiny-skeleton-loader-react
zero dependency, ultra lightweight (1KB gzipped) skeleton loader component for react 🐥
Stars: ✭ 28 (-51.72%)
Mutual labels:  loader
react-native-less-transformer
Use Less to style your React Native apps.
Stars: ✭ 26 (-55.17%)
Mutual labels:  loader
react-nested-loader
The easiest way to manage loaders/errors inside a button. NOT an UI lib.
Stars: ✭ 62 (+6.9%)
Mutual labels:  loader
memory-module-loader
An implementation of a Windows loader that can load dynamic-linked libraries (DLLs) directly from memory
Stars: ✭ 111 (+91.38%)
Mutual labels:  loader
Canvas-Vision
📷 Wallpaper Downloading Android App
Stars: ✭ 14 (-75.86%)
Mutual labels:  picasso
favicon-canvas-loader
Create and display a circular loading <canvas> animation as a webpage favicon.
Stars: ✭ 83 (+43.1%)
Mutual labels:  loader
lp-loader
Frictionless language packs for Webpack.
Stars: ✭ 14 (-75.86%)
Mutual labels:  loader
ngx-loader-indicator
Awesome loader for angular applications. No wrappers only you elements
Stars: ✭ 44 (-24.14%)
Mutual labels:  loader
Prevailer-orientation-support-library-for-Android
Prevailer is a simple android library that helps in preserving object instances across orientation change in android and is JAVA 8 and MVP ready.
Stars: ✭ 17 (-70.69%)
Mutual labels:  loader
BaseDevelop
an android project for now fashion open source framework
Stars: ✭ 24 (-58.62%)
Mutual labels:  picasso
KVSpinnerView
KVSpinnerView is highly customizable progress HUD
Stars: ✭ 37 (-36.21%)
Mutual labels:  loader
ngx-loaders-css
Loaders.css component for Angular X
Stars: ✭ 13 (-77.59%)
Mutual labels:  loader
core
An advanced and highly optimized Java library to build frameworks: it's useful for scanning class paths, generating classes at runtime, facilitating the use of reflection, scanning the filesystem, executing stringified source code and much more...
Stars: ✭ 100 (+72.41%)
Mutual labels:  loader
nunjucks-loader
Webpack loader for Nunjucks templates
Stars: ✭ 20 (-65.52%)
Mutual labels:  loader
rprogress
React ajax loader progress bar with clear API
Stars: ✭ 12 (-79.31%)
Mutual labels:  loader
moonlight-admin
Easy to use admin panel, designed for cheat loaders.
Stars: ✭ 29 (-50%)
Mutual labels:  loader

Faker

A kotlin extension to load images asynchronously on android

Platform API License: MIT License: MIT

Features

  • Load random images asynchronously into any ImageView
  • Load a random image that fits perfectly the size of that imageView
  • Load any image by passing a simple url into it
  • Perfect for image placeholders to jump start a project

Install

Just add the following dependency in your app's build.gradle

allprojects { repositories { maven { url 'https://jitpack.io' } }}
dependencies {
      implementation 'com.github.cesarferreira:faker:x.x.x'
}

or use drone:

drone add faker app-module

Examples

Here are some examples to provide you a head start with using this library.

.loadRandomImage()

imageView.loadRandomImage()

.loadFromUrl(url: String)

imageView.loadFromUrl("http://sample.com/image.png")

.loadFromUrl(url: String, placeholder: Int, error: Int)

imageView.loadFromUrl("http://sample.com/image.png", R.color.placeholder, R.color.error)

.loadFromUrl(url: String, placeholder: Drawable, error: Drawable)

imageView.loadFromUrl("http://sample.com/image.png", R.drawable.placeholder, R.drawable.error)

License

Licensed under MIT license. View license.

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].