{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

ValueElement

public final class ValueElement


A ValueElement describes an element of a compose value instance. The name typically refers to a (possibly private) property name with its corresponding value.

Summary

Public constructors

Public methods

final @NonNull String
final Object

Public constructors

ValueElement

public ValueElement(@NonNull String name, Object value)

Public methods

getName

public final @NonNull String getName()

getValue

public final Object getValue()