Skip to content

Commit f99a85d

Browse files
authored
Update README.md
1 parent 231bb3e commit f99a85d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Then **sync** your gradle. If you have errors, try to add maven url to your `bu
2020
```groovy
2121
repositories {
2222
...
23-
maven { url 'https://dl.bintray.com/ss564/SlidingButton' }
23+
maven { url 'https://dl.bintray.com/ss564/SlidingButton' }
2424
...
2525
}
2626
```
@@ -36,9 +36,9 @@ In your *layout.xml* file, add the view
3636

3737
```xml
3838
<id.ss564.lib.slidingbutton.SlidingButton
39-
android:id="@+id/slidingButton"
40-
android:layout_width="match_parent"
41-
android:layout_height="wrap_content"/>
39+
android:id="@+id/slidingButton"
40+
android:layout_width="match_parent"
41+
android:layout_height="wrap_content"/>
4242
```
4343

4444
Yeah... just add like code above. It's pretty simple :smile:
@@ -79,9 +79,9 @@ class MainActivity : AppCompatActivity() {
7979

8080
//access view using synthetic, do your own style to access the view :)
8181
slidingButton.setOnStatusChangeListener { active ->
82-
//or using `object : SlidingButton.OnStatusChangeListener` instead of lambda
83-
84-
//do what you wanna to do
82+
//or using `object : SlidingButton.OnStatusChangeListener` instead of lambda
83+
84+
//do what you wanna to do
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)