Skip to content

Commit 16872a5

Browse files
committed
版本更新
1 parent e4d2063 commit 16872a5

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,17 @@ dependencies {
7777
implementation 'com.google.android.material:material:1.3.0'
7878
}
7979
```
80+
**必须启用dataBinding**
81+
```
82+
android {
83+
buildFeatures {
84+
//启用数据绑定,MVVM
85+
dataBinding true
86+
}
87+
}
88+
```
89+
90+
8091
### 三、使用
8192

8293
注意下方只做了基础展示,dialog的都会返回对应的utils对象,registerActivityLifecycleCallbacks方法设置后,activity销毁时会自动把显示在此activity上的dialog一起关闭。

0 commit comments

Comments
 (0)