Giter Site home page Giter Site logo

easyglide's Introduction

EasyGlide

It's a wrapper implementation of Glide

Setup

implementation 'com.github.pedrofsn.easyglide:LATEST-VERSION'

Compatibility

  • Minimum Android SDK: Glide v4 requires a minimum API level of 14.
  • Compile Android SDK: Glide v4 requires you to compile against API 26 or later.

Sample Printscreen

easyglide's People

Contributors

gemasr avatar pedrofsn avatar sierraobryan avatar

Watchers

 avatar  avatar

easyglide's Issues

Create DOC usage

Create documentation with library usage. Can be a new file inside this repository or a new category inside README.md.

Cover all functions and parameters inside ExtensionImageView.kt and EasyGlideBindingAdapters.kt

Programmatically error

Today error drawable is hardcoded as

private val error = R.drawable.ic_error

In ExtensionImageView.kt:33


  • This issue is a improvement to handle drawable error programmatically to who implements the library;
  • Drawable "R.drawable.ic_error" can be used as DEFAULT value;
  • Need to handle/accept null case ("without any error drawable").

Programmatically placeholder

Today placehoder is hardcoded as

private const val placeholder = android.R.drawable.stat_sys_download

In ExtensionImageView.kt:32


  • This issue is a improvement to handle placeholder programmatically to who implements the library;
  • Drawable "android.R.drawable.stat_sys_download" can be used as DEFAULT value;
  • Need to handle/accept null case ("without any placeholder").

Add consumer proguard in library

Get proguard config from Glide and put in consumer proguard in EasyGlide library.

It will help who implements this library avoiding to touch proguard's in app module to use glide specific rules.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.