Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0348b5b

Browse files
committed
Create magic function module
1 parent 77d590d commit 0348b5b

File tree

1 file changed

+14
-0
lines changed
  • magic/src/main/java/br/com/bloder/magic

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package br.com.bloder.magic
2+
3+
import android.view.View
4+
import br.com.bloder.magic.internal.MagicAnimation
5+
6+
/**
7+
* Created by bloder on 20/09/16.
8+
*/
9+
fun doWith(view : View) {
10+
var animation : MagicAnimation
11+
animation = MagicAnimation(view)
12+
animation.duration = 200
13+
view.startAnimation(animation)
14+
}

0 commit comments

Comments
 (0)