I am using overridePendingTransition method to perform 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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
overridePendingTransitiondoes not have a listener. Like I wrote an earlier post you rather wanna use a normal animation instead for theoverridePendingTransition(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: Load XML slowly