https://kotlinlang.org logo
#compose
Title
# compose
t

theapache64

09/14/2022, 6:05 AM
I was looking at my app’s method trace for something, and noticed compose methods are sometimes getting called twice. Is this because of the recomposition? Is it normal to have duplicate calls like this?
a

Albert Chang

09/14/2022, 9:17 AM
The graph is showing nested calls, meaning that the method below is called in the method above, so they are not duplicate calls.
To answer your question, yes it's totally normal and has nothing to do with recomposition.
3 Views