Function

requireView

The Android View hosting the composition.

requireView

Source set: Android
public fun DelegatableNode.requireView(): View

The Android View hosting the composition.

Throws: IllegalStateException

If the modifier node is not attached.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: