Function

testTag

Applies a tag to allow modified element to be found in tests.

testTag

Source set: Android
public fun SubspaceModifier.testTag(tag: String): SubspaceModifier

Applies a tag to allow modified element to be found in tests.

This is a convenience method for a semantics that sets SubspaceSemanticsPropertyReceiver.testTag.

Parameters

tag String used to identify the modified element in tests.
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: