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
)
:
MountContentPools.DefaultContentPool
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
?
clear
Link copied to clipboard
open
override
fun
clear
(
)
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
set
On
Cleared
Listener
Link copied to clipboard
open
override
fun
setOnClearedListener
(
listener
:
MountContentPools.ContentPool.OnClearedListener
?
)