views:

147

answers:

1

I am using overridePendingTransition method to do custom Activity animations, i would like to know when the animation ends ( a callback/listener ). Is there any direct way of achieving this, if not please suggest me some work around.

Thanks

+1  A: 

overridePendingTransition does not have a listener. Like I wrote an earlier post you rather wanna use a normal animation instead for the overridePendingTransition (that is just for Android 2.0 and above).

You can get a similiar effect and you can also do more cool stuff with an ordinary animation. My earlier post here: http://stackoverflow.com/questions/3379050/load-xml-slowly/3379102#3379102

Julian Assange