mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Add thumbnail shared element animation.
This commit is contained in:
committed by
Greyson Parrelli
parent
2c48d40375
commit
d0de43a6b2
@@ -114,7 +114,10 @@ public final class GiphyMp4ProjectionRecycler implements GiphyMp4PlaybackControl
|
||||
});
|
||||
holder.playContent(giphyMp4Playable.getMediaItem(), giphyMp4Playable.getPlaybackPolicyEnforcer());
|
||||
} else {
|
||||
giphyMp4Playable.showProjectionArea();
|
||||
|
||||
holder.setOnPlaybackReady(() -> {
|
||||
holder.show();
|
||||
giphyMp4Playable.hideProjectionArea();
|
||||
parent.invalidate();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user