Skip to content

Commit bf14630

Browse files
authored
Update README.md
1 parent 74c4a60 commit bf14630

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ allprojects {
6161
6262
```groovy
6363
dependencies {
64-
implementation 'com.github.Petterpx:FloatingX:1.1.7'
64+
implementation 'com.github.Petterpx:FloatingX:1.2.0'
6565
}
6666
```
6767
@@ -93,7 +93,7 @@ dependencies {
9393
**kt**
9494

9595
```kotlin
96-
FloatingX.init {
96+
FloatingX.install {
9797
setLayout(R.layout.item_floating_new)
9898
//只有调用了enableFx(),后续才会自动插入activity中
9999
enableFx()
@@ -107,7 +107,7 @@ AppHelper helper = AppHelper.builder()
107107
.setLayout(R.layout.item_floating)
108108
.enableFx()
109109
.build();
110-
FloatingX.init(helper);
110+
FloatingX.install(helper);
111111
```
112112

113113

0 commit comments

Comments
 (0)