I am extending `AbstractComposeView` like below. T...
# compose
I am extending
like below. The view is rendered to screen, but
is never called:
Copy code
class CustomComposeView(...) : AbstractComposeView(...) {
  // identical implementation to ComposeView

  override fun onDraw(canvas: Canvas?) {
    // This is never getting called

// elsewhere, added to Activity like so
activity.addContentView(customComposeView, layoutParams)
Should I expect onDraw to be called? Are we discouraged from extending AbstractComposeView? Or is this generally supported? I am doing this because I’m trying to draw a composition to an OpenGL texture. Essentially creating a kind of
. Thanks for any help!