Interface

RecomposeScope

Represents a recomposable scope or section of the composition hierarchy.

Source set: Common
public interface RecomposeScope

Represents a recomposable scope or section of the composition hierarchy. Can be used to manually invalidate the scope to schedule it for recomposition.

Functions

invalidate

Source set: Common
public fun invalidate()

Invalidate the corresponding scope, requesting the composer recompose this scope.

This method is thread safe.

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: