Added in API level 23

OnSharedElementsReadyListener


interface OnSharedElementsReadyListener
android.app.SharedElementCallback.OnSharedElementsReadyListener

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

Summary

Public methods
abstract Unit

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

Public methods

onSharedElementsReady

Added in API level 23
abstract fun onSharedElementsReady(): Unit

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