Add thumbnail shared element animation.

This commit is contained in:
Alex Hart
2023-02-09 14:38:48 -04:00
committed by Greyson Parrelli
parent 2c48d40375
commit d0de43a6b2
25 changed files with 484 additions and 252 deletions

View File

@@ -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();
});