vide
03/20/2023, 8:16 PM.callPoolingContainerOnRelease()
from https://developer.android.com/jetpack/androidx/releases/customview#customview-poolingcontainer-1.0.0 on the onDetachedFromWindow()
of the RecyclerView.
This is actually mentioned in the documentation as well: https://developer.android.com/jetpack/compose/migrate/interoperability-apis/compose-in-views#composition-strategy
[...] In some of these situations, the app can also slowly leak memory from Composition instances unless you manually call.AbstractComposeView.disposeComposition
Zach Klippenstein (he/him) [MOD]
03/21/2023, 3:34 PM