You’ll skip a frame there before adding your view, since you won’t create it until after the first composition is done.
Better to create and initialize your view inside the factory function you’re passing to AndroidView, and then store it in a mutable state or other holder type from there.
Then you could still use DisposableEffect to call destroy.