HostMountContentPool

class HostMountContentPool(maxSize: Int, isEnabled: Boolean) : MountItemsPool.ItemPool

A specific MountContentPool for HostComponent - needed to do correct recycling with things like duplicateParentState.

Constructors

Link copied to clipboard
constructor(maxSize: Int, isEnabled: Boolean)

Functions

Link copied to clipboard
open override fun acquire(contentAllocator: ContentAllocator<*>): Any?
Link copied to clipboard
open override fun maybePreallocateContent(c: Context, contentAllocator: ContentAllocator<*>): Boolean
Link copied to clipboard
open override fun release(item: Any): Boolean