AllocationListenerIfc

An allocation listener is notified whenever the resource is allocated and when the resource is deallocated. This allows general actions to occur when the resource's state changes at these instances in time.

Functions

Link copied to clipboard
abstract fun allocate(allocation: Allocation)
Link copied to clipboard
abstract fun deallocate(allocation: Allocation)