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

ScopeUpdateScope

@ComposeCompilerApi
public interface ScopeUpdateScope


Internal compose compiler plugin API that is used to update the function the composer will call to recompose a recomposition scope. This should not be used or called directly.

Summary

Public methods

abstract void
updateScope(
    @NonNull Function2<@NonNull Composer, @NonNull IntegerUnit> block
)

Called by generated code to update the recomposition scope with the function to call recompose the scope.

Public methods

updateScope

abstract void updateScope(
    @NonNull Function2<@NonNull Composer, @NonNull IntegerUnit> block
)

Called by generated code to update the recomposition scope with the function to call recompose the scope. This is called by code generated by the compose compiler plugin and should not be called directly.