Hi i have a product in which xml and compose both ...
# compose
a
Hi i have a product in which xml and compose both used, but i don`t know why it takes long time to open the compose based activity ?
r
Are you running in Debug mode? Compose is dramatically slower in Debug builds.
a
Also anecdotally we moved from 1.2-rc2 to 1.3.3 and 1.4 compiler and debug builds became so fast it’s like they are xml again.
Where previously that was sluggish
r
Oh, good to know! I should probably try to update.
a
Yeah it also fixed a few interop issues with our root apps legacy coordinator layout and collapsing header. The interop between views definitely improved
On our android app homescreen we have a collapsing header in a coordinatorlayout while the rest of content is compose in a separate fragment . That was really wonky until we built a version update pr internally
a
Thanks @agrosner