A simple workaround that gets the result I wanted (that is to show the ImageView
for a few seconds and then fade it out and set it to GONE
):
Because postDelayed
was the culprit in my previous attempt, I dropped it in favor of using Animation
's setStartOffset(startOffset)
.
That means I simply delayed the animation start with the interval I used initially for postDelayed
. I still don't know why postDelayed
messed the listener of the animation.