This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
Use WeakHashMap for MotionRuntime's target-based caches #76
Labels
MotionRuntime.cachedReactiveViews
andMotionRuntime.cachedInteractions
should both use WeakHashMap instead of SimpleArrayMap.We do not want to prevent the target Object from being garbage collected. See https://github.com/material-motion/material-motion-android/blob/develop/library/src/main/java/com/google/android/material/motion/ReactiveProperty.java#L36
The text was updated successfully, but these errors were encountered: