I have a `SurfaceView` than when created is also v...
# compose
p
I have a
SurfaceView
than when created is also visible to the user. But if it’s not visible, meaning something else is overlaying it or it has
height=0
, when it is removed from composition, the
surfaceDestroyed()
callback is not called. Is that expected?
r
Was the surface created callback ever invoked?
Note: you should now use
AndroidExternalSurface
in Compose
p
Yes, the
surfaceCreated()
callback was called.
I will check out the
AndroidExternalSurface
.