Is overdraw still something to try to optimize in ...
# compose
t
Is overdraw still something to try to optimize in Compose world?
1
z
I forget where I heard this, but I think a googler said a while back that it’s not even something to try to optimize in the Android view world these days.
Anyway, even if that weren’t the case, I wouldn’t think you’d need to worry about it in compose. Compose has a lot finer-grained invalidations.
r
It’s only worth optimizing in the view world insofar as inflation, memory, etc. are concerned
Drawing itself is not an issue really
t
Thanks so it's not an issue to add a Surface to a reusable component to ensure Text colors for example even if this component will already be drawn on a surface?