Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
werbhelius committed Oct 28, 2017
1 parent bb3ba54 commit 6182c26
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -25,14 +26,16 @@ 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

* 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

Expand All @@ -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
Expand Down

0 comments on commit 6182c26

Please sign in to comment.