Android.App.Activity.SetEnterSharedElementCallback 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 launched Activity.

Syntax

[Android.Runtime.Register("setEnterSharedElementCallback", "(Landroid/app/SharedElementCallback;)V", "GetSetEnterSharedElementCallback_Landroid_app_SharedElementCallback_Handler")]
public virtual void SetEnterSharedElementCallback (SharedElementCallback callback)

Parameters

callback
Used to manipulate shared element transitions on the launched 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 launched 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