mActivityOptions = activityOptions;
return new ActivityOptionsCompat21( ActivityOptions.makeSceneTransitionAnimation(activity, sharedElement, sharedElementName));
Pair[] pairs = null; if (sharedElements != null) { pairs = new Pair[sharedElements.length]; for (int i = 0; i < pairs.length; i++) { pairs[i] = Pair.create(sharedElements[i], sharedElementNames[i]); } } return new ActivityOptionsCompat21( ActivityOptions.makeSceneTransitionAnimation(activity, pairs));
return mActivityOptions.toBundle();
mActivityOptions.update(otherOptions.mActivityOptions);