Skip to content

Commit 8a0dfa5

Browse files
committed
修改Read.Me说明文档
1 parent 173e1a7 commit 8a0dfa5

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,27 @@
2424

2525
### 用法
2626

27+
28+
```
29+
implementation 'cn.imlibo:FilePicker:v0.0.1_alpha'
30+
```
31+
32+
> 如果报找不到依赖库的错,在项目的build.gradle添加如下代码:
33+
34+
35+
```
36+
allprojects {
37+
repositories {
38+
google()
39+
jcenter()
40+
maven { url "https://jitpack.io" }
41+
maven { url "https://dl.bintray.com/libo/maven" }
42+
}
43+
}
44+
```
45+
46+
47+
2748
##### 一、 在文件浏览器中选择指定文件
2849
```
2950
FilePicker.from(this)
@@ -154,3 +175,26 @@ themeId | 主题ID | R.Style.FilePicker_Elec
154175

155176
[AndroidPicker](https://github.com/gzu-liyujiang/AndroidPicker)
156177

178+
## LICENSE
179+
180+
MIT License
181+
182+
Copyright (c) 2018
183+
184+
Permission is hereby granted, free of charge, to any person obtaining a copy
185+
of this software and associated documentation files (the "Software"), to deal
186+
in the Software without restriction, including without limitation the rights
187+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
188+
copies of the Software, and to permit persons to whom the Software is
189+
furnished to do so, subject to the following conditions:
190+
191+
The above copyright notice and this permission notice shall be included in all
192+
copies or substantial portions of the Software.
193+
194+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
195+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
196+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
197+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
198+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
199+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
200+
SOFTWARE.

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies {
4242
androidTestImplementation 'com.android.support.test:runner:1.0.1'
4343
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
4444

45-
compile 'cn.imlibo:FilePicker:v0.0.1_alpha'
45+
implementation 'cn.imlibo:FilePicker:v0.0.1_alpha'
4646
}
4747

4848

0 commit comments

Comments
 (0)