acquire

open override fun acquire(source: String)

Acquire a reference. Must be balanced with a call to release.

Parameters

source

A string indicating the source of the acquisition, for logging purposes, e.g. "MyActivity".

Throws

If the object has already been disposed.