SharedElementCallback.OnSharedElementsReadyListener

public static interface SharedElementCallback.OnSharedElementsReadyListener

androidx.core.app.SharedElementCallback.OnSharedElementsReadyListener


Listener to be called after SharedElementCallback.onSharedElementsArrived(List, List, OnSharedElementsReadyListener) when the shared elements are ready to be hidden in the source Activity and shown in the destination Activity.

Summary

Public methods

abstract void onSharedElementsReady()

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.

Public methods

onSharedElementsReady

public abstract void onSharedElementsReady ()

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.