nvm. I found the solution. You can use LayoutInfla...
# compose
k
nvm. I found the solution. You can use LayoutInflator with
root=null
(not sure if it's the right way) or could simply create instance of your custom view. in my case, I was concerned about
PlayerView
from exoplayer and this snippet
Copy code
exoplayer = ...
AndroidView({ PlayerView(context) }) {
    it.player = exoPlayer
    exoPlayer.playWhenReady = true
}
worked for me