Interface

OnRemeasuredModifier

A modifier whose onRemeasured is called when the layout content is remeasured.

Source set: Common
public interface OnRemeasuredModifier : Modifier.Element

A modifier whose onRemeasured is called when the layout content is remeasured. The most common usage is onSizeChanged.

Example usage:

Functions

onRemeasured

Source set: Common
public fun onRemeasured(size: IntSize)

Called after a layout's contents have been remeasured.

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: