Reputation: 575
I would like to play 2 animationdrawables after eachother..
When the first one stops, the other one has to start..
The problem is:
AnimationListener is not possible with animationdrawables
Does anybody know a solution?
thank you
Upvotes: 1
Views: 180
Reputation: 2528
try this code
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
public void run() {
//start 2nd animation
}
}, delay);//delay is the time for how long 1st animation takes to complete
Upvotes: 1