There is no direct equivalent in fragment transitions, because Fragments use FragmentTransaction, and we cannot defer what should happen in a transaction.
To get the equivalent, you can add a fragment and hide it in the transaction, and then, when the fragment is ready, delete the old fragment and show the new fragment in the transaction.
getFragmentManager().beginTransaction() .add(R.id.container, fragment2) .hide(fragment2) .commit();
Later, when fragment2 is ready:
getFragmentManager().beginTransaction() .addSharedElement(sharedElement, "name") .remove(fragment1) .show(fragment2) .commit();
George Mount Nov 18 '14 at 0:05 2014-11-18 00:05
source share