feat: transition for mediainfofragment items
This commit is contained in:
parent
b5cfb5d567
commit
57581d6f54
1 changed files with 2 additions and 4 deletions
|
@ -396,10 +396,8 @@ class MediaAdaptor(
|
||||||
if (itemCompactImage != null) {
|
if (itemCompactImage != null) {
|
||||||
ActivityOptionsCompat.makeSceneTransitionAnimation(
|
ActivityOptionsCompat.makeSceneTransitionAnimation(
|
||||||
activity,
|
activity,
|
||||||
Pair.create(
|
|
||||||
itemCompactImage,
|
itemCompactImage,
|
||||||
ViewCompat.getTransitionName(activity.findViewById(R.id.itemCompactImage))!!
|
ViewCompat.getTransitionName(itemCompactImage)!!
|
||||||
),
|
|
||||||
).toBundle()
|
).toBundle()
|
||||||
} else {
|
} else {
|
||||||
null
|
null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue