DoubleTapAnimation
fun DoubleTapAnimation(image: Int = Int.empty(), icon: Int, size: Dp = 250.dp, onDoubleTap: () -> Unit)
Author: @Jeluchu
This component performs the same function as the animation when you double click on an image to "like" it on Instagram
Parameters
image
drawable resource of the remote image to be displayed
icon
drawable of the icon you want to display when pressing
size
maximum animation size
onDoubleTap
action to be performed after the double-tap animation is performed
fun DoubleTapAnimation(url: String = String.empty(), icon: Int, size: Dp = 250.dp, onDoubleTap: () -> Unit)
Author: @Jeluchu
This component performs the same function as the animation when you double click on an image to "like" it on Instagram
Parameters
url
link of the remote image to be displayed
icon
drawable of the icon you want to display when pressing
size
maximum animation size
onDoubleTap
action to be performed after the double-tap animation is performed