SvgGlidePlugin

Additional

Language
Java
Version
1.2.1 (Mar 27, 2020)
Created
Nov 18, 2017
Updated
Mar 27, 2020 (Retired)
Owner
Kirill Rozov (kirich1409)
Contributor
Kirill Rozov (kirich1409)
1
Activity
Badge
Generate
Download
Source code

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 {
   jcenter()
}

implementation 'com.kirich1409.svgplugin:svg-glide4-plugin:1.2.1'

or with Kotlin DSL

repository {
   jcenter()
}

implementation("com.kirich1409.svgplugin:svg-glide4-plugin:1.2.1")

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.