Is Jetpack Compose not optimized for big projects?
I tried now for 1 1/2 Weeks to get my performance right but didn’t succeed.
Now I finally figured out that it has something to do with the sheer size of my project.
When I simply comment out the the call to my MainScreen() inside the setContent{} method and put in some different code (for example Horizontal Pager + Tab Layout + LazyVerticalGrid) it performs worse in my big project than in a freshly created one even though it is running the exact same code.
Only difference is that the laggy project has hundreds of other classes in it (which are not getting called cause I commentet out the call to MainScreen) and a lot more dependencies.
Running both projects in Release + R8 enabled
So as stupid as it sounds but I just simply have to give up on Jetpack Compose and get back to XML…
I’m loosing hope