HostMountContentPool

class HostMountContentPool(maxSize: Int, isEnabled: Boolean) : MountContentPools.ContentPool

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 fun clear()
Link copied to clipboard
open override fun maybePreallocateContent(c: Context, contentAllocator: ContentAllocator<*>): Boolean
Link copied to clipboard
open override fun release(item: Any): Boolean
Link copied to clipboard
open fun setOnClearedListener(listener: MountContentPools.ContentPool.OnClearedListener?)