toggle menu
Litho
androidJvm
switch theme
search in API
litho-testing
/
com.facebook.litho.testing
/
TrackedItemPool
Tracked
Item
Pool
class
TrackedItemPool
(
lifecycle
:
Any
,
size
:
Int
)
:
MountItemsPool.DefaultItemPool
Members
Constructors
Tracked
Item
Pool
Link copied to clipboard
constructor
(
lifecycle
:
Any
,
size
:
Int
)
Properties
current
Size
Link copied to clipboard
var
currentSize
:
Int
Functions
acquire
Link copied to clipboard
open
override
fun
acquire
(
contentAllocator
:
ContentAllocator
<
*
>
)
:
Any
?
maybe
Preallocate
Content
Link copied to clipboard
open
override
fun
maybePreallocateContent
(
c
:
Context
,
contentAllocator
:
ContentAllocator
<
*
>
)
:
Boolean
release
Link copied to clipboard
open
override
fun
release
(
item
:
Any
)
:
Boolean