Android shared elements transition - wait for animation to finish -


i have list of elements , when click one, replace fragment , use addsharedelement fragmenttransaction animate item in list become header in detail view.

now want populate details in detail view, after header animation has finished. because now, header animation appears on content , not good.

how can achieve that?

i hope i'm not late. can retrieve shared elements transition getwindow() hook listener it.

getwindow().getsharedelemententertransition().addlistener(new transition.transitionlistener() {     @override     public void ontransitionstart(transition transition) {         // put code here             }     ... }); 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -