toggle menu
Litho
androidJvm
switch theme
search in API
litho-core
/
com.facebook.litho.tools.firstdraw
/
FirstDrawReporter
First
Draw
Reporter
class
FirstDrawReporter
:
RenderUnit.Binder
<
Unit
,
View
,
ViewTreeObserver.OnDrawListener
>
Members
Types
On
Draw
Listener
Link copied to clipboard
inner
class
OnDrawListener
(
view
:
View
,
onDrawComplete
:
(
)
->
Unit
)
:
ViewTreeObserver.OnDrawListener
Properties
description
Link copied to clipboard
open
val
description
:
String
type
Link copied to clipboard
open
val
type
:
Class
<
*
>
Functions
bind
Link copied to clipboard
open
override
fun
bind
(
context
:
Context
,
view
:
View
,
model
:
Unit
,
layoutData
:
Any
?
)
:
ViewTreeObserver.OnDrawListener
?
should
Update
Link copied to clipboard
open
override
fun
shouldUpdate
(
currentModel
:
Unit
,
newModel
:
Unit
,
currentLayoutData
:
Any
?
,
nextLayoutData
:
Any
?
)
:
Boolean
unbind
Link copied to clipboard
open
override
fun
unbind
(
context
:
Context
,
view
:
View
,
model
:
Unit
,
layoutData
:
Any
?
,
bindData
:
ViewTreeObserver.OnDrawListener
?
)