fragment/src/main/java/androidx/fragment/app/FragmentTransitionImpl.java
ArrayList<String> prepareSetNameOverridesReordered(ArrayList<View> sharedElementsIn) {
        final ArrayList<String> names = new ArrayList<>();
        final int numSharedElements = sharedElementsIn.size();
        for (int i = 0; i < numSharedElements; i++) {
            final View view = sharedElementsIn.get(i);
            names.add(ViewCompat.getTransitionName(view));
            ViewCompat.setTransitionName(view, null);
        }
        return names;
    }
/**
     * Prepares for setting the shared element names by gathering the names of the incoming
     * shared elements and clearing them. {@link #setNameOverridesReordered(View, ArrayList,
     * ArrayList, ArrayList, Map)} must be called after this to complete setting the shared element
     * name overrides. This must be called before
     * {@link #beginDelayedTransition(ViewGroup, Object)}.
     */
Prepares for setting the shared element names by gathering the names of the incoming
shared elements and clearing them. {@link #setNameOverridesReordered(View, ArrayList,
ArrayList, ArrayList, Map)} must be called after this to complete setting the shared element
name overrides. This must be called before
#beginDelayedTransition(ViewGroup, Object).
Prepares for setting the shared element names by gathering the names of the incoming shared elements and clearing them . { @link #setNameOverridesReordered ( View ArrayList ArrayList ArrayList Map ) } must be called after this to complete setting the shared element name overrides . This must be called before #beginDelayedTransition ( ViewGroup Object ) .
ArrayList<String> prepareSetNameOverridesReordered(ArrayList<View> sharedElementsIn) {
        final ArrayList<String> names = new ArrayList<>();
        final int numSharedElements = sharedElementsIn.size();
        for (int i = 0; i < numSharedElements; i++) {
            final View view = sharedElementsIn.get(i);
            names.add(ViewCompat.getTransitionName(view));
            ViewCompat.setTransitionName(view, null);
        }
        return names;
    }
ArrayList < String > prepareSetNameOverridesReordered ( ArrayList < View > sharedElementsIn ) { final ArrayList < String > names = new ArrayList < > ( ) ; final int numSharedElements = sharedElementsIn . size ( ) ; for ( int i = 0 ; i < numSharedElements ; i ++ ) { final View view = sharedElementsIn . get ( i ) ; names . add ( ViewCompat . getTransitionName ( view ) ) ; ViewCompat . setTransitionName ( view , null ) ; } return names ; }
Prepares for setting the shared element names by gathering the names of the incoming
 shared elements and clearing them.
Prepares for setting the shared element names by gathering the names of the incoming shared elements and clearing them .