Function

hasKeysMissingFrom

Returns true if this provider contains at least one key that other does not contain.

hasKeysMissingFrom

Source set: Common
public fun SemanticsPropertyProvider.hasKeysMissingFrom(other: SemanticsPropertyProvider): Boolean

Returns true if this provider contains at least one key that other does not contain.

Use this to detect deleted properties between an old and a new configuration of the same node: oldConfig.hasKeysMissingFrom(newConfig). Values are not compared.

Parameters

other The provider to check keys against.
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: