Skip to content

Commit 3cce7ac

Browse files
Updated README with new snippet
1 parent a822e00 commit 3cce7ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ or Maven
4040
Just like play Yo-yo.
4141

4242
```java
43-
YoYo.play(YoYo.Techniques.Shake,findViewById(R.id.eidtor));
43+
YoYo.with(Techniques.Tada)
44+
.duration(700)
45+
.playOn(findViewById(R.id.edit_area));
4446
```
4547

4648
### Effects

0 commit comments

Comments
 (0)