The current implementation has a big problem as it leaks the Context used to create the TransitionInflater in an static ArrayMap. When used with an Activity context it could leak the entire activity.
This code is already removed from the TransitionInflater class from Android as you can see here:
The current implementation has a big problem as it leaks the Context used to create the TransitionInflater in an static ArrayMap. When used with an Activity context it could leak the entire activity.
This code is already removed from the TransitionInflater class from Android as you can see here:
https://android.googlesource.com/platform/frameworks/base/+/58ad12208afcf9fdce735dead8449c4db375344d%5E%21/#F0