We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4d2063 commit 16872a5Copy full SHA for 16872a5
1 file changed
README.md
@@ -77,6 +77,17 @@ dependencies {
77
implementation 'com.google.android.material:material:1.3.0'
78
}
79
```
80
+**必须启用dataBinding**
81
+```
82
+android {
83
+ buildFeatures {
84
+ //启用数据绑定,MVVM
85
+ dataBinding true
86
+ }
87
+}
88
89
+
90
91
### 三、使用
92
93
注意下方只做了基础展示,dialog的都会返回对应的utils对象,registerActivityLifecycleCallbacks方法设置后,activity销毁时会自动把显示在此activity上的dialog一起关闭。
0 commit comments