In my case i am using Thread.sleep(longTime)
for 2 consecutive animation but its was creating problem.
I did it using Handler with postDelayed(longtime)
as follows which was doing directly in onAnimationEnd()
.
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
inFromRight();
}
}, 100);