OnTouch of an ImageView I\'m starting a fade in animation:
myImageView.setOnTouchListener(new View.OnTouchListener() {
publ
In case someone needs the solution in kotlin:
fadeInAnimation.setAnimationListener(object: Animation.AnimationListener {
override fun onAnimationRepeat(animation: Animation?) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun onAnimationEnd(animation: Animation?) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun onAnimationStart(animation: Animation?) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
})