Android.App.Activity.SetExitSharedElementCallback Method
When ActivityOptions.MakeSceneTransitionAnimation(Activity, Android.Views.View, Android.Views.View) was used to start an Activity, callback will be called to handle shared elements on the launching Activity.

Syntax

[Android.Runtime.Register("setExitSharedElementCallback", "(Landroid/app/SharedElementCallback;)V", "GetSetExitSharedElementCallback_Landroid_app_SharedElementCallback_Handler")]
public virtual void SetExitSharedElementCallback (SharedElementCallback callback)

Parameters

callback
Used to manipulate shared element transitions on the launching Activity.

Remarks

When ActivityOptions.MakeSceneTransitionAnimation(Activity, Android.Views.View, Android.Views.View) was used to start an Activity, callback will be called to handle shared elements on the launching Activity. Most calls will only come when returning from the started Activity. This requires Android.Views.Window.FEATURE_ACTIVITY_TRANSITIONS.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1