startRestartGroup

fun startRestartGroup(key: Int)

Start a restart group. A restart group creates a recompose scope and sets it as the current recompose scope of the composition. If the recompose scope is invalidated then this group will be recomposed. A recompose scope can be invalidated by calling the lambda returned by androidx.compose.runtime.invalidate.

fun startRestartGroup(key: Int, sourceInformation: String?)