getView

abstract fun getView(): View

Returns the View that displays the plan.

The returned View is a self-sizing container that fills its parent (MATCH_PARENT), so it can be hosted directly (for example in a Compose AndroidView) without extra wrapping. The same instance is returned on every call, and each call detaches it from its previous parent so it can be safely re-hosted across screens. Do not cast the result to a concrete View subtype such as WebView.