共用方式為


SharedElementCallback.IOnSharedElementsReadyListener.OnSharedElementsReady Method

Definition

Call this method during or after the OnSharedElementsReadyListener has been received in SharedElementCallback#onSharedElementsArrived(List, List, OnSharedElementsReadyListener) to indicate that the shared elements are ready to be hidden in the source and shown in the destination Activity.

[Android.Runtime.Register("onSharedElementsReady", "()V", "GetOnSharedElementsReadyHandler:Android.App.SharedElementCallback/IOnSharedElementsReadyListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public void OnSharedElementsReady ();
[<Android.Runtime.Register("onSharedElementsReady", "()V", "GetOnSharedElementsReadyHandler:Android.App.SharedElementCallback/IOnSharedElementsReadyListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnSharedElementsReady : unit -> unit
Attributes

Remarks

Call this method during or after the OnSharedElementsReadyListener has been received in SharedElementCallback#onSharedElementsArrived(List, List, OnSharedElementsReadyListener) to indicate that the shared elements are ready to be hidden in the source and shown in the destination Activity.

Java documentation for android.app.SharedElementCallback.OnSharedElementsReadyListener.onSharedElementsReady().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to