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

ObserverHandle

public fun interface ObserverHandle


The type returned by observer registration methods that unregisters the observer when it is disposed.

Summary

Public methods

abstract void

Dispose the observer causing it to be unregistered from the snapshot system.

Public methods

dispose

abstract void dispose()

Dispose the observer causing it to be unregistered from the snapshot system.