From 6182c269290f5f809ee1c8f6840441a64cbec3c2 Mon Sep 17 00:00:00 2001 From: wanbo Date: Sat, 28 Oct 2017 16:21:28 +0800 Subject: [PATCH] update readme --- .idea/misc.xml | 2 +- README.md | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index ba7052b..635999d 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -24,7 +24,7 @@ - + diff --git a/README.md b/README.md index de1182f..f816b59 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,11 @@ Click to download lastest demo ⬇️ or select [Release Version](https://github [![download](/app/src/main/res/mipmap-xhdpi/ic_launcher.png)](https://fir.im/hm38) -## Last Update (2017.10.2) -#### [v0.3.5](https://github.com/Werb/PickPhotoSample/releases/tag/v0.3.5) +## Last Update (2017.10.8) +#### [v0.3.6](https://github.com/Werb/PickPhotoSample/releases/tag/v0.3.6) 1. Refactor with kotlin 2. Optimized image load logic +3. Bug fixed ## Screenshot ![one](./screenshots/one.png) @@ -25,7 +26,7 @@ the last-version is [releases-version](https://github.com/Werb/PickPhotoSample/r #### Gradle ``` - compile 'com.werb.pickphotoview:pickphotoview:0.3.5' // Last Version + compile 'com.werb.pickphotoview:pickphotoview:0.3.6' // Last Version ``` some Library already dependency @@ -33,6 +34,8 @@ some Library already dependency * Glide * Recyclerview * Gson +* [Moretype - new method to build data in RecyclerView with Kotlin! ](https://github.com/Werb/MoreType) +* [EventBusKotlin - A Simple EventBus](https://github.com/Werb/EventBusKotlin) If you don't want to dependency this Library version , you can replace it just like @@ -43,6 +46,18 @@ If you don't want to dependency this Library version , you can replace it just l compile 'com.google.code.gson:gson:XXXX' ``` +New Version 0.3.6+ build with Kotlin new feature `LayoutContainer` , so you must add this command in your **module build.gradle** +```gradle +apply plugin: 'kotlin-android-extensions' +``` +and config this command in `android{}` +```gradle +androidExtensions { + experimental = true +} +``` +**when new feature published in kotlin release version it will built-in code and no need for config** + ## Usage Make sure you have permissions about CAMERA and WRITE/READ_EXTERNAL_STORAGE before use