edvin
06/27/2018, 6:41 AMron
06/27/2018, 6:42 AMedvin
06/27/2018, 6:44 AMron
06/27/2018, 6:45 AMedvin
06/27/2018, 6:45 AMron
06/27/2018, 6:48 AMedvin
06/27/2018, 6:48 AMron
06/27/2018, 6:50 AMedvin
06/27/2018, 6:50 AMron
06/27/2018, 6:51 AMimage.png▾
ron
06/27/2018, 6:53 AMron
06/27/2018, 7:03 AMedvin
06/27/2018, 7:27 AMron
06/27/2018, 8:07 AMron
06/27/2018, 8:07 AMabhinay
06/27/2018, 8:12 AMron
06/27/2018, 8:13 AMIMG_20180511_122859.jpg▾
edvin
06/27/2018, 8:42 AMron
06/27/2018, 8:43 AMedvin
06/27/2018, 8:58 AMedvin
06/27/2018, 8:58 AMron
06/27/2018, 8:58 AMedvin
06/27/2018, 9:00 AMtieskedh
06/27/2018, 10:21 AM/**
* Creates a parallel animation from multiple animations.
*
* @receiver The base animation
* @param animation The animations to play with this one
* @param op Modify the animation after it is created
* @return A ParallelTransition
*/
fun Animation.and(vararg animation: Animation, op: ParallelTransition.() -> Unit = {}) = when {
this is ParallelTransition -> this.apply { children += animation }
else -> ParallelTransition(this, *animation)
}.also(op)
isn't merging an unexpected result based on doc or are animations not reusable?
(just trying to document everything when I stumbled upon this)orangy
Gary Tierney
06/27/2018, 10:45 AMprism.order
to sw
orangy
Gary Tierney
06/27/2018, 10:53 AMron
06/27/2018, 10:54 AMron
06/27/2018, 10:55 AM