AndroidOverlayHostFactoryProvider

class AndroidOverlayHostFactoryProvider : OverlayHostFactoryProvider(source)

Service-provider entry that lets viewcompose-widget-core discover this Android backend.

Applications normally do not instantiate this class. Adding the artifact to the runtime classpath exposes it through ServiceLoader; the renderer then creates one AndroidOverlayHost for each render root. Direct construction remains useful for custom hosts and tests.

Samples

return OverlayHostDefaults.androidOrNoOp(rootView)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun create(rootView: View): OverlayHost

Creates a host attached to the Android window that owns rootView.