<There was a section> in documentation about integ...
# compose
v
There was a section in documentation about integrating Compose in
RecyclerView
, what happened? We do not need to
setViewCompositionStrategy(ViewCompositionStrategy.DisposeOnViewTreeLifecycleDestroyed)
and
disposeComposition()
anymore?
a
cc @Ryan Mentley
r
That's correct, as long as you are using the latest RecyclerView alpha and latest Compose beta. I'm pretty sure we have new docs describing this, but I'm not finding them on the site at the moment. I'll need to find the CL where this was updated.
We now automatically detect
ComposeView
children of
RecyclerView
and do much more optimal handling of composition disposal.
­čÖĆ 2
v
Okay. Thank you!