I have set Custom Animation for the fragment transaction using fragmentTansaction.setCustomAnimation(in,out). I want to know the start and end of the animation and trigger some respective action . How can I do that? Is it possible to set some listner?