I'm building nested layouts using an recursive app...
# compose
f
I'm building nested layouts using an recursive approach and invoke all composable methods once the tree is build up. I noticed that the first rendering the elements build up quickly after each other instead of one element (probably due to complexity). Is there any way to improve the rendering by using some advanced Composable? Thank you 🙏
z
By “build up quickly after each other” do you mean over multiple frames?
f
Yes, I can visible see that more components are added with each frame.
z
That doesn’t sound like an issue with complexity, if the code was too expensive then you’d just see the first few frames skipped.
I can’t debug this without seeing some code
f
Thank you for your help - I was able to improve the code a bit to increase the performance.