The Android Developer Challenge is back! Submit your idea before December 2.

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.