How to create an animation listener for activity transitions

I am currently using:

overridePendingTransition(R.anim.slide_in_left, R.anim.push_to_background); 

for my activity transition, and I read that this method does not support listeners (which, I think, is not cool)>: (

I need to listen when my transitional animation is over, but the recommended way to animate activity transitions is with this method. What to do?

+4
source share

Source: https://habr.com/ru/post/1493891/


All Articles