Interface

CompositionObserverHandle

The handle returned by Composition.setObserver and Recomposer.observe.

Source set: Common
public interface CompositionObserverHandle

The handle returned by Composition.setObserver and Recomposer.observe. Calling dispose will prevent further composition observation events from being sent to the registered observer.

Functions

dispose

Source set: Common
public fun dispose()

Unregister the observer.

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: