ProtocolMismatchHandler

@ObjCName(name = "ProtocolMismatchHandler", exact = true)
interface ProtocolMismatchHandler

Handler invoked when the protocol sent from Compose to the widget display encounters unknown entities. This usually occurs when either the Compose-side or the widget-side was generated from a newer schema than the other, or if their schemas were changed in an incompatible way.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun onUnknownChildren(widgetTag: WidgetTag, tag: ChildrenTag)

Handle a request to manipulate unknown children tag for the specified widgetTag.

Link copied to clipboard
abstract fun onUnknownModifier(tag: ModifierTag)

Handle a request to create an unknown layout modifier tag.

Link copied to clipboard
abstract fun onUnknownProperty(widgetTag: WidgetTag, tag: PropertyTag)

Handle a request to set an unknown property tag for the specified widgetTag.

Link copied to clipboard
abstract fun onUnknownWidget(tag: WidgetTag)

Handle a request to create an unknown widget tag.