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 ?
02/08/2023, 7:17 PM
Are you running in Debug mode? Compose is dramatically slower in Debug builds.
02/09/2023, 1:04 AM
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
02/09/2023, 1:05 AM
Oh, good to know! I should probably try to update.
02/09/2023, 1:18 AM
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