GlimpseDisposableContainer

class GlimpseDisposableContainer : GlimpseDisposable

A disposable container for disposable Glimpse objects.

After disposed, this container becomes empty and ready to be filled again. Thus, isDisposed is always false for this object.

Since

v1.2.0

Constructors

Link copied to clipboard
fun GlimpseDisposableContainer()

Functions

Link copied to clipboard
fun add(disposable: GlimpseDisposable): Boolean

Adds given disposable to this container.

Link copied to clipboard
fun addAll(disposables: Collection<GlimpseDisposable>): Boolean

Adds all disposables from given collection to this container.

Link copied to clipboard
open override fun dispose(gl: GlimpseAdapter)

Disposes all disposables in this container.

Link copied to clipboard
fun disposeUndisposed(gl: GlimpseAdapter)

Disposes all undisposed disposables in this container.

Properties

Link copied to clipboard
open override val isDisposed: Boolean = false

Always false.