From 66dbe459667f0863a3efb34ba279156efcaf54f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=B8=9C=E9=B2=81?= Date: Fri, 16 Oct 2015 19:05:00 +0800 Subject: [PATCH] update new version --- README.md | 56 ++++++++++++++++++------------------ photopickerdemo/build.gradle | 2 +- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 4b1c045..5737e1c 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ ```groovy dependencies { - compile 'me.iwf.photopicker:PhotoPicker:0.2.7@aar' + compile 'me.iwf.photopicker:PhotoPicker:0.2.8@aar' compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.android.support:recyclerview-v7:22.2.0' @@ -104,33 +104,33 @@ startActivityForResult(intent, REQUEST_CODE); @style/myTheme.actionBar #00FF00 -``` - -### Proguard - -``` -# Glide --keep public class * implements com.bumptech.glide.module.GlideModule --keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** { - **[] $VALUES; - public *; -} -# nineoldandroids --keep interface com.nineoldandroids.view.** { *; } --dontwarn com.nineoldandroids.** --keep class com.nineoldandroids.** { *; } -# support-v7-appcompat --keep public class android.support.v7.widget.** { *; } --keep public class android.support.v7.internal.widget.** { *; } --keep public class android.support.v7.internal.view.menu.** { *; } --keep public class * extends android.support.v4.view.ActionProvider { - public (android.content.Context); -} -# support-design --dontwarn android.support.design.** --keep class android.support.design.** { *; } --keep interface android.support.design.** { *; } --keep public class android.support.design.R$* { *; } +``` + +### Proguard + +``` +# Glide +-keep public class * implements com.bumptech.glide.module.GlideModule +-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** { + **[] $VALUES; + public *; +} +# nineoldandroids +-keep interface com.nineoldandroids.view.** { *; } +-dontwarn com.nineoldandroids.** +-keep class com.nineoldandroids.** { *; } +# support-v7-appcompat +-keep public class android.support.v7.widget.** { *; } +-keep public class android.support.v7.internal.widget.** { *; } +-keep public class android.support.v7.internal.view.menu.** { *; } +-keep public class * extends android.support.v4.view.ActionProvider { + public (android.content.Context); +} +# support-design +-dontwarn android.support.design.** +-keep class android.support.design.** { *; } +-keep interface android.support.design.** { *; } +-keep public class android.support.design.R$* { *; } ``` --- diff --git a/photopickerdemo/build.gradle b/photopickerdemo/build.gradle index 38aa61a..5da710d 100644 --- a/photopickerdemo/build.gradle +++ b/photopickerdemo/build.gradle @@ -23,7 +23,7 @@ dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile project(':PhotoPicker') -// compile 'me.iwf.photopicker:PhotoPicker:0.2.7@aar' +// compile 'me.iwf.photopicker:PhotoPicker:0.2.8@aar' // // compile 'com.android.support:appcompat-v7:22.2.0' // compile 'com.android.support:recyclerview-v7:22.2.0'