Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Plugins for Glide 4 image loading libraries for load SVG

License

Notifications You must be signed in to change notification settings

androidbroadcast/SvgGlidePlugins

Repository files navigation

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