diff options
| author | George Mount <mount@google.com> | 2015-04-09 18:13:40 +0000 |
|---|---|---|
| committer | George Mount <mount@google.com> | 2015-04-09 18:13:40 +0000 |
| commit | 44d15f1c2e8f07ae9a88d79721547cf8e5935b6c (patch) | |
| tree | f9805e9bac2b743eccc886edb296eceea8ca9e31 /core/java/android/app/SharedElementCallback.java | |
| parent | bd93e69c8e0b06fc0b0bbba4bdd9e426b37f98e1 (diff) | |
| download | frameworks_base-44d15f1c2e8f07ae9a88d79721547cf8e5935b6c.zip frameworks_base-44d15f1c2e8f07ae9a88d79721547cf8e5935b6c.tar.gz frameworks_base-44d15f1c2e8f07ae9a88d79721547cf8e5935b6c.tar.bz2 | |
Revert "Allow delay of showing/hiding shared element when transferring."
This reverts commit bd93e69c8e0b06fc0b0bbba4bdd9e426b37f98e1.
Change-Id: I38daa39e8560f4901b242acc6394dfa37f3d084a
Diffstat (limited to 'core/java/android/app/SharedElementCallback.java')
| -rw-r--r-- | core/java/android/app/SharedElementCallback.java | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/core/java/android/app/SharedElementCallback.java b/core/java/android/app/SharedElementCallback.java index 9c70f1d..6ac2401 100644 --- a/core/java/android/app/SharedElementCallback.java +++ b/core/java/android/app/SharedElementCallback.java @@ -221,42 +221,4 @@ public abstract class SharedElementCallback { } return view; } - - /** - * Called during an Activity Transition when the shared elements have arrived at the - * final location and are ready to be transferred. This method is called for both the - * source and destination Activities. - * <p> - * When the shared elements are ready to be transferred, - * {@link OnSharedElementsReadyListener#onSharedElementsReady()} - * must be called to trigger the transfer. - * <p> - * The default behavior is to trigger the transfer immediately. - * - * @param sharedElementNames The names of the shared elements that are being transferred.. - * @param sharedElements The shared elements that are part of the View hierarchy. - * @param listener The listener to call when the shared elements are ready to be hidden - * in the source Activity or shown in the destination Activity. - */ - public void onSharedElementsArrived(List<String> sharedElementNames, - List<View> sharedElements, OnSharedElementsReadyListener listener) { - listener.onSharedElementsReady(); - } - - /** - * Listener to be called after {@link - * SharedElementCallback#onSharedElementsArrived(OnSharedElementsReadyListener)} - * when the shared elements are ready to be hidden in the source Activity and shown in the - * destination Activity. - */ - public interface OnSharedElementsReadyListener { - - /** - * Call this method during or after the OnSharedElementsReadyListener has been received - * in {@link SharedElementCallback#onSharedElementsArrived(OnSharedElementsReadyListener)} - * to indicate that the shared elements are ready to be hidden in the source and shown - * in the destination Activity. - */ - void onSharedElementsReady(); - } } |
