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

Composer.Companion

public static class Composer.Companion


Summary

Public methods

static final @NonNull Object

A special value used to represent no value was stored (e.g. an empty slot).

static final void

Internal API for specifying a tracer used for instrumenting frequent operations, e.g. recompositions.

Public methods

getEmpty

public static final @NonNull Object getEmpty()

A special value used to represent no value was stored (e.g. an empty slot). This is returned, for example by Composer.rememberedValue while it is Composer.inserting is true.

setTracer

@InternalComposeTracingApi
public static final void setTracer(@NonNull CompositionTracer tracer)

Internal API for specifying a tracer used for instrumenting frequent operations, e.g. recompositions.