{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

RecomposeScope

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.

Summary

Public methods

abstract void

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

Public methods

invalidate

abstract void invalidate()

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

This method is thread safe.