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) {
|
||||
ActivityOptionsCompat.makeSceneTransitionAnimation(
|
||||
activity,
|
||||
Pair.create(
|
||||
itemCompactImage,
|
||||
ViewCompat.getTransitionName(activity.findViewById(R.id.itemCompactImage))!!
|
||||
),
|
||||
itemCompactImage,
|
||||
ViewCompat.getTransitionName(itemCompactImage)!!
|
||||
).toBundle()
|
||||
} else {
|
||||
null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue