Skip to content
Plugins for Glide 4 image loading libraries for load SVG
Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea/codeStyles
gradle/wrapper
library
sample
script
.gitignore
.travis.yml
LICENSE
README.md
build.gradle Update version to 1.2.0 Oct 30, 2019
gradle.properties
gradlew
gradlew.bat Update Gradle to 5.6.2 Oct 30, 2019
settings.gradle

README.md

Android Arsenal JCenter Download Build Status

SvgImageLoaderPlugins

Plugin for load SVG in Glide 4. Based on AndroidSVG library. During loading SVG will converted into Bitmap. The solution was selected for better performance of drawing and smaller size of source.

Grab the latest via Gradle with Groovy DSL:

repository {
   maven(url = 'https://dl.bintray.com/kirich1409/maven/')
}

implementation 'com.kirich1409.svgplugin:glide4:1.2.0'

or with Kotlin DSL

repository {
   maven(url = "https://dl.bintray.com/kirich1409/maven/")
}

implementation("com.kirich1409.svgplugin:glide4:1.2.0")

Library requires Android SDK 15+

Fot library work don't forget create AppGlideModule like described here.

@GlideModule
class SampleGlideModule : AppGlideModule {
    // Any additional configuration for the SvgGlide4Plugin not required
}

License

Copyright 2019 Kirill Rozov

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.