Join Slack
Powered by
I have seen a few times a method call is called tw...
# compose
e
eneim
09/19/2021, 12:41 PM
I have seen a few times a method call is called twice like this
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]/runtime/Composer.kt;l=1742?q=internal%20class%20ComposerImpl
or this
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]ime/Composer.kt;l=1235-1237?q=internal%20class%20ComposerImpl
(not consecutive, but somehow a method is called twice. Maybe it is legit due to internal state change) Not sure it is a bug or something hidden inside?
a
Albert Chang
09/19/2021, 1:23 PM
They are corresponding to the count of
startGroup()
calls in
startProviders()
and
startRoot()
.
🙏 1
➕ 1
e
eneim
09/19/2021, 1:49 PM
I see, thanks (it would be nice if there is a more detailed doc for the
endGroup
call though).
Open in Slack
Previous
Next