From 94355378aecdf42fa0b7690942c836b314db86ce Mon Sep 17 00:00:00 2001 From: Kevin McGill Date: Thu, 7 Dec 2017 00:03:55 -0600 Subject: [PATCH] Update README and License --- .gitignore | 1 + LICENSE | 2 +- README.md | 8 +++++++- .../mcgilldevtech/mcpicslider/McPicSliderAdapterFresco.kt | 1 - 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 39fb081..0f6ca2d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /build /captures .externalNativeBuild +.idea diff --git a/LICENSE b/LICENSE index ed10b8b..57a2c91 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 Kevin McGill +Copyright (c) 2017 Kevin McGill Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 3b47f95..bd9eb0c 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ dependencies { 3. Add XML ```xml ``` @@ -57,3 +57,9 @@ mcPicSlider.adapter = McPicSliderAdapterFresco( ) ) ``` +## Author + +Kevin McGill, kevin@mcgilldevtech.com + +### License +McPicSlider-Android is available under the MIT license. See the LICENSE file for more info. \ No newline at end of file diff --git a/mcpicslider/src/main/java/com/mcgilldevtech/mcpicslider/McPicSliderAdapterFresco.kt b/mcpicslider/src/main/java/com/mcgilldevtech/mcpicslider/McPicSliderAdapterFresco.kt index 77bf9eb..bb7abbc 100644 --- a/mcpicslider/src/main/java/com/mcgilldevtech/mcpicslider/McPicSliderAdapterFresco.kt +++ b/mcpicslider/src/main/java/com/mcgilldevtech/mcpicslider/McPicSliderAdapterFresco.kt @@ -19,7 +19,6 @@ class McPicSliderAdapterFresco(context: Context, init { if (!Fresco.hasBeenInitialized()) { Fresco.initialize(context) - Fresco.getImagePipeline().clearCaches() } }