Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

OnSharedElementsReadyListener

interface OnSharedElementsReadyListener
androidx.core.app.SharedElementCallback.OnSharedElementsReadyListener

Listener to be called after 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, * OnSharedElementsReadyListener) to indicate that the shared elements are ready to be hidden in the source and shown in the destination Activity.

Public methods

onSharedElementsReady

abstract fun onSharedElementsReady(): Unit

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.