public static void reverseAnimate ( Element sourceElement , Element targetElement , Functions . Func reverseCallback ) { MaterialPathAnimator animator = new MaterialPathAnimator ( ) ; animator . setSourceElement ( sourceElement ) ; animator . setTargetElement ( targetElement ) ; animator . setReverseCallback ( reverseCallback ) ; animator . reverseAnimate ( ) ; }
Helper method to reverse animate the source element to target element with reverse callback