We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74c4a60 commit bf14630Copy full SHA for bf14630
1 file changed
README.md
@@ -61,7 +61,7 @@ allprojects {
61
62
```groovy
63
dependencies {
64
- implementation 'com.github.Petterpx:FloatingX:1.1.7'
+ implementation 'com.github.Petterpx:FloatingX:1.2.0'
65
}
66
```
67
@@ -93,7 +93,7 @@ dependencies {
93
**kt**
94
95
```kotlin
96
-FloatingX.init {
+FloatingX.install {
97
setLayout(R.layout.item_floating_new)
98
//只有调用了enableFx(),后续才会自动插入activity中
99
enableFx()
@@ -107,7 +107,7 @@ AppHelper helper = AppHelper.builder()
107
.setLayout(R.layout.item_floating)
108
.enableFx()
109
.build();
110
-FloatingX.init(helper);
+FloatingX.install(helper);
111
112
113
0 commit comments