[android-components](../../index.md) / [mozilla.components.support.base.observer](../index.md) / [ObserverRegistry](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`ObserverRegistry()`

A helper for classes that want to get observed. This class keeps track of registered observers
and can automatically unregister observers if a LifecycleOwner is provided.

ObserverRegistry is thread-safe.

