优化demo,修复异步扫描时多线程同事操作一块数据时引发的异常。

pull/34/head
jason 6 years ago
parent 410ae040c1
commit 752e370211
  1. 15
      README.md
  2. 6
      app/build.gradle

@ -32,6 +32,19 @@
nsfwBean?.sfw ...
nsfwBean?.nsfw ...
```
### Demo运行结果:
- 项目打包时请使用如下代码确定你使用的ndk,否则会打包全部类型的库文件,导致项目异常庞大
```
ndk {
abiFilters 'armeabi-v7a'
}
```
### [点我下载apk(arm+x86)](https://fir.im/nsfw)
### 扫码下载
![图片](https://github.com/devzwy/open_nsfw_android/blob/master/img/2.png)
### Demo运行结果(后期手动打码防止屏蔽):
![图片](https://github.com/devzwy/open_nsfw_android/blob/master/img/1.png)

@ -14,7 +14,7 @@ android {
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters 'armeabi-v7a'
abiFilters 'armeabi-v7a','x86_64'
}
}
buildTypes {
@ -45,6 +45,6 @@ dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
implementation project(path: ':nsfw')
// implementation 'com.github.devzwy:open_nsfw_android:1.2.3'
// implementation project(path: ':nsfw')
implementation 'com.github.devzwy:open_nsfw_android:1.2.4'
}

Loading…
Cancel
Save