Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
oooo7777777 committed Mar 3, 2022
2 parents 17c41a7 + 281f0ad commit bb110f2
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ android {
```
open class *** : VBApplication() {
override fun initData() {
//设置全局通用配置
val netOptions = VBNetOptions.Builder()
.setBaseUrl("https://www.wanandroid.com/")
.build()
val options = VBConfigOptions.Builder()
.setNetOptions(netOptions)
.setStatusBarColor(Color.parseColor("#ffffff"))
.build()
VBConfig.init(options)
}
}
```

Expand Down Expand Up @@ -143,4 +157,4 @@ open class *** : VBApplication() {
-keepclassmembers class **$** extends com.chad.library.adapter.base.viewholder.BaseViewHolder {
<init>(...);
}
```
```

0 comments on commit bb110f2

Please sign in to comment.