From 480458f14983d2445b06f56cd421cf582ff833ca Mon Sep 17 00:00:00 2001 From: facebook-github-bot Date: Mon, 9 Dec 2024 21:54:52 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20facebook?= =?UTF-8?q?/litho@1ade577b96e8a0c820fa41f19780c5521264b206=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../container-title.html | 2 +- .../content-description.html | 2 +- .../labeled-by.html | 2 +- ...ration-between-content-changes-millis.html | 2 +- .../pane-title.html | 2 +- .../request-initial-accessibility-focus.html | 2 +- .../-builder/index.html | 2 +- ...tions-recycler-view-on-create-handler.html | 2 +- .../-components-configuration/index.html | 2 +- ...tions-recycler-view-on-create-handler.html | 2 +- .../-debug-overlay/index.html | 4 +- .../get-component-stack-trace-element.html | 2 +- .../com.facebook.litho.debug/index.html | 2 +- .../-border-color-drawable/index.html | 4 +- .../-comparable-color-drawable/index.html | 4 +- .../-comparable-drawable-wrapper/index.html | 8 +- .../schedule-drawable.html | 2 +- .../unschedule-drawable.html | 2 +- .../-comparable-drawable/index.html | 2 +- .../-comparable-gradient-drawable/index.html | 4 +- .../com.facebook.litho.drawable/index.html | 2 +- .../index.html | 2 +- .../-lifecycle-owner-wrapper/index.html | 2 +- .../-first-draw-reporter/index.html | 2 +- .../-cross-fade/index.html | 2 +- .../-expand-to-reveal/index.html | 2 +- .../com.facebook.litho.view/alpha.html | 2 +- .../on-intercept-touch.html | 2 +- .../com.facebook.litho.view/view-tag.html | 2 +- .../com.facebook.litho.view/view-tags.html | 2 +- .../-animations/-animation-builder/index.html | 2 +- .../start-and-cancel-previous.html | 2 +- .../dispatch-visibility-event.html | 2 +- ...ng-views-from-currently-mounted-items.html | 2 +- .../-base-mounting-view/index.html | 174 ++++++++--------- .../on-register-for-premount.html | 2 +- .../-class-value-pair/index.html | 2 +- .../-click-event/index.html | 2 +- .../-column/-builder/index.html | 2 +- .../com.facebook.litho/-column/index.html | 2 +- .../-common-props/index.html | 4 +- .../-common-props/mount-binders.html | 2 +- .../-common-props/view-binders.html | 2 +- .../calculate-layout-output-id.html | 2 +- ...component-context-with-state-for-test.html | 2 +- .../-component-context/get-cached-value.html | 2 +- .../-component-context/get-global-key.html | 2 +- .../-component-context/get-log-tag.html | 2 +- .../get-parent-tree-prop.html | 2 +- .../-component-context/get-string.html | 2 +- .../-component-context/get-text.html | 2 +- .../-component-context/get-tree-prop.html | 2 +- .../-component-context/index.html | 26 +-- .../-component-context/put-cached-value.html | 2 +- .../update-state-async.html | 2 +- .../-component-context/update-state-sync.html | 2 +- .../update-state-with-transition.html | 2 +- .../index.html | 8 +- .../-component-host/index.html | 42 ++--- .../-component-scope/index.html | 2 +- ...pply-lazy-state-updates-for-container.html | 2 +- .../can-skip-state-update.html | 2 +- .../-component-tree/get-cached-value.html | 2 +- .../-component-tree/get-event-trigger.html | 2 +- .../-component-tree/get-log-tag.html | 2 +- .../-component-tree/get-simple-name.html | 2 +- .../-component-tree/index.html | 28 +-- .../-component-tree/put-cached-value.html | 2 +- .../remove-pending-state-update.html | 2 +- .../set-debug-logs-breadcrumb.html | 2 +- .../update-hook-state-async.html | 2 +- .../update-hook-state-sync.html | 2 +- .../-component-tree/update-state-async.html | 2 +- .../-component-tree/update-state-lazy.html | 2 +- .../-component-tree/update-state-sync.html | 2 +- .../-component-utils/are-arrays-equals.html | 2 +- .../are-collections-equals.html | 2 +- .../-component-utils/index.html | 6 +- .../level-of-components-in-collection.html | 2 +- .../-builder/accessibility-heading.html | 2 +- .../accessibility-role-description.html | 2 +- .../-builder/accessibility-role.html | 2 +- .../-component/-builder/alpha.html | 2 +- .../-component/-builder/background-color.html | 2 +- .../-builder/content-description.html | 2 +- .../-component/-builder/foreground-color.html | 2 +- .../-component/-builder/index.html | 44 ++--- .../-component/-builder/key.html | 2 +- .../-component/-builder/rotation-x.html | 2 +- .../-component/-builder/rotation-y.html | 2 +- .../-component/-builder/rotation.html | 2 +- .../-component/-builder/scale-x.html | 2 +- .../-component/-builder/scale-y.html | 2 +- .../-component/-builder/shadow-elevation.html | 2 +- .../-component/-builder/test-key.html | 2 +- .../-component/-builder/tooltip-text.html | 2 +- .../-component/-builder/transition-key.html | 2 +- .../-component/-builder/transition-name.html | 2 +- .../-component/-builder/translation-x.html | 2 +- .../-component/-builder/translation-y.html | 2 +- .../-component/-builder/translation-z.html | 2 +- .../-builder/visibility-output-tag.html | 2 +- .../-component/-container-builder/index.html | 44 ++--- .../-component/-mount-type/index.html | 2 +- .../-component/-mount-type/value-of.html | 2 +- .../-component/get-builder-context-name.html | 2 +- .../-component/get-debug-attributes.html | 2 +- .../-component/get-mount-type.html | 2 +- .../-component/get-simple-name.html | 2 +- .../-component/get-tree-prop-from-parent.html | 2 +- .../com.facebook.litho/-component/index.html | 16 +- .../-component/is-equivalent-to.html | 2 +- .../-component/set-builder-context-name.html | 2 +- .../-component/to-string.html | 2 +- .../apply-extra-description.html | 2 +- .../-extra-description/index.html | 4 +- .../add-view-description.html | 2 +- .../index.html | 4 +- .../-debug-hierarchy/index.html | 2 +- .../-default-error-event-handler/index.html | 2 +- .../-delegating-event-handler/index.html | 2 +- .../com.facebook.litho/-diff-node/index.html | 2 +- .../-drawable-component/get-mount-type.html | 2 +- .../-drawable-component/index.html | 2 +- .../-drawable-matrix/index.html | 2 +- .../-empty-component/index.html | 2 +- .../after-mount.html | 2 +- .../before-mount.html | 2 +- .../find-test-items.html | 2 +- .../-end-to-end-testing-extension/index.html | 14 +- .../on-unbind.html | 2 +- .../on-unmount.html | 2 +- .../-error-event-handler/index.html | 2 +- .../-error-event/exception.html | 2 +- .../-error-event/index.html | 2 +- .../-unbound-event-handler.html | 2 +- .../-event-handler/call.html | 2 +- .../-event-handler/index.html | 6 +- .../-event-handler/to-string.html | 2 +- .../-executor-litho-handler.html | 2 +- .../-executor-litho-handler/index.html | 10 +- .../post-at-front.html | 2 +- .../-executor-litho-handler/post.html | 2 +- .../-executor-litho-handler/remove.html | 2 +- .../-k-component/get-mount-type.html | 2 +- .../-k-component/index.html | 2 +- .../-k-component/is-equivalent-to.html | 2 +- .../-companion/id-generator.html | 2 +- .../-layout-state/-companion/index.html | 2 +- .../index.html | 8 +- .../-litho-node-utils/create-render-unit.html | 2 +- .../-litho-node-utils/index.html | 2 +- .../-litho-node/add-custom-binders.html | 2 +- .../-litho-node/add-view-custom-binders.html | 2 +- .../custom-binders-for-mount-spec.html | 2 +- .../custom-view-binders-for-mount-spec.html | 2 +- .../com.facebook.litho/-litho-node/index.html | 8 +- .../-litho-render-tree-view/index.html | 42 ++--- .../-litho-render-unit/index.html | 2 +- .../com.facebook.litho/-litho-tree/index.html | 2 +- .../-litho-tree/internal-scope-ref.html | 2 +- .../find-test-items.html | 2 +- .../-litho-view-test-helper/index.html | 2 +- .../index.html | 2 +- ...host-hierarchy-mount-state-identifier.html | 2 +- .../com.facebook.litho/-litho-view/index.html | 176 +++++++++--------- .../set-mount-startup-logging-info.html | 2 +- .../-litho-view/to-string.html | 2 +- .../-long-click-event/index.html | 2 +- .../-matrix-drawable/index.html | 8 +- .../-matrix-drawable/schedule-drawable.html | 2 +- .../-matrix-drawable/unschedule-drawable.html | 2 +- .../-mount-spec-litho-render-unit/index.html | 2 +- .../before-mount-item.html | 2 +- .../-nested-litho-views-extension/index.html | 26 +-- .../on-bind-item.html | 2 +- .../on-bounds-applied-to-item.html | 2 +- .../on-mount-item.html | 2 +- .../on-unbind-item.html | 2 +- .../on-unmount-item.html | 2 +- .../should-update-item.html | 2 +- .../-nested-tree-holder/index.html | 8 +- .../-no-op-event-handler/index.html | 2 +- .../com.facebook.litho/-null-node/index.html | 8 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../-primitive-component-scope/index.html | 2 +- .../-primitive-component/get-mount-type.html | 2 +- .../-primitive-component/index.html | 2 +- .../is-equivalent-to.html | 2 +- .../find-attach-binder-by-class.html | 2 +- .../-primitive-litho-render-unit/index.html | 2 +- .../-re-thrown-exception/index.html | 10 +- .../-re-thrown-exception/original.html | 2 +- .../-render-state/index.html | 2 +- .../-render-state/value-of.html | 2 +- .../-row/-builder/index.html | 2 +- .../com.facebook.litho/-row/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../get-simple-name.html | 2 +- .../-spec-generated-component/index.html | 14 +- .../is-equivalent-to.html | 2 +- .../-test-component/index.html | 2 +- .../-thread-tracing-runnable/index.html | 2 +- .../-tree-future/index.html | 2 +- .../-tree-prop-container/get.html | 2 +- .../-tree-prop-container/index.html | 6 +- .../-tree-prop-container/put.html | 2 +- .../-tree-prop-container/set.html | 2 +- .../-view-attributes-view-binder/index.html | 2 +- .../-builder/index.html | 2 +- .../get-mount-type.html | 2 +- .../-view-compat-component/index.html | 2 +- .../-wrapper/-builder/index.html | 2 +- .../com.facebook.litho/-wrapper/index.html | 2 +- .../litho-core/com.facebook.litho/index.html | 42 ++--- .../legacy-tree-prop-of.html | 2 +- .../preload-litho-classes.html | 2 +- .../use-error-boundary.html | 2 +- 223 files changed, 596 insertions(+), 596 deletions(-) diff --git a/reference/litho-core/com.facebook.litho.accessibility/container-title.html b/reference/litho-core/com.facebook.litho.accessibility/container-title.html index 832b1f73179..baf0eb832e7 100644 --- a/reference/litho-core/com.facebook.litho.accessibility/container-title.html +++ b/reference/litho-core/com.facebook.litho.accessibility/container-title.html @@ -63,7 +63,7 @@

containerTitle

-
inline fun Style.containerTitle(containerTitle: CharSequence?): Style

Sets the container title for app-developer-defined container which can be any type of ViewGroup or layout. Container title will be used to group together related controls, similar to HTML fieldset.

See android.view.accessibility.AccessibilityNodeInfo.setContainerTitle.

+
inline fun Style.containerTitle(containerTitle: CharSequence?): Style

Sets the container title for app-developer-defined container which can be any type of ViewGroup or layout. Container title will be used to group together related controls, similar to HTML fieldset.

See android.view.accessibility.AccessibilityNodeInfo.setContainerTitle.

diff --git a/reference/litho-core/com.facebook.litho.config/-components-configuration/-builder/sections-recycler-view-on-create-handler.html b/reference/litho-core/com.facebook.litho.config/-components-configuration/-builder/sections-recycler-view-on-create-handler.html index a80d981a023..abb78cca07e 100644 --- a/reference/litho-core/com.facebook.litho.config/-components-configuration/-builder/sections-recycler-view-on-create-handler.html +++ b/reference/litho-core/com.facebook.litho.config/-components-configuration/-builder/sections-recycler-view-on-create-handler.html @@ -63,7 +63,7 @@

sectionsRecyclerViewOnCreateHandler

-
+
diff --git a/reference/litho-core/com.facebook.litho.config/-components-configuration/sections-recycler-view-on-create-handler.html b/reference/litho-core/com.facebook.litho.config/-components-configuration/sections-recycler-view-on-create-handler.html index 93057f257c0..128862c0346 100644 --- a/reference/litho-core/com.facebook.litho.config/-components-configuration/sections-recycler-view-on-create-handler.html +++ b/reference/litho-core/com.facebook.litho.config/-components-configuration/sections-recycler-view-on-create-handler.html @@ -63,7 +63,7 @@

sectionsRecyclerViewOnCreateHandler

-
+
-
open fun scheduleSelf(p0: Runnable, p1: Long)
+
open fun scheduleSelf(p0: Runnable, p1: Long)
@@ -957,7 +957,7 @@

Functions

-
open fun unscheduleSelf(p0: Runnable)
+
open fun unscheduleSelf(p0: Runnable)
diff --git a/reference/litho-core/com.facebook.litho.debug/get-component-stack-trace-element.html b/reference/litho-core/com.facebook.litho.debug/get-component-stack-trace-element.html index 5f882695638..185d084fa7e 100644 --- a/reference/litho-core/com.facebook.litho.debug/get-component-stack-trace-element.html +++ b/reference/litho-core/com.facebook.litho.debug/get-component-stack-trace-element.html @@ -63,7 +63,7 @@

getComponentStackTraceElement

-

Uses a stack trace to find the closest stack element inside a KComponent.render method.

+

Uses a stack trace to find the closest stack element inside a KComponent.render method.

-

Uses a stack trace to find the closest stack element inside a KComponent.render method.

+

Uses a stack trace to find the closest stack element inside a KComponent.render method.

diff --git a/reference/litho-core/com.facebook.litho.drawable/-border-color-drawable/index.html b/reference/litho-core/com.facebook.litho.drawable/-border-color-drawable/index.html index ad805692825..dea4dcc265b 100644 --- a/reference/litho-core/com.facebook.litho.drawable/-border-color-drawable/index.html +++ b/reference/litho-core/com.facebook.litho.drawable/-border-color-drawable/index.html @@ -713,7 +713,7 @@

Functions

-
open fun scheduleSelf(p0: Runnable, p1: Long)
+
open fun scheduleSelf(p0: Runnable, p1: Long)
@@ -998,7 +998,7 @@

Functions

-
open fun unscheduleSelf(p0: Runnable)
+
open fun unscheduleSelf(p0: Runnable)
diff --git a/reference/litho-core/com.facebook.litho.drawable/-comparable-color-drawable/index.html b/reference/litho-core/com.facebook.litho.drawable/-comparable-color-drawable/index.html index 42c2d6f69dd..ee92b04bf91 100644 --- a/reference/litho-core/com.facebook.litho.drawable/-comparable-color-drawable/index.html +++ b/reference/litho-core/com.facebook.litho.drawable/-comparable-color-drawable/index.html @@ -683,7 +683,7 @@

Functions

-
open fun scheduleSelf(p0: Runnable, p1: Long)
+
open fun scheduleSelf(p0: Runnable, p1: Long)
@@ -983,7 +983,7 @@

Functions

-
open fun unscheduleSelf(p0: Runnable)
+
open fun unscheduleSelf(p0: Runnable)
diff --git a/reference/litho-core/com.facebook.litho.drawable/-comparable-drawable-wrapper/index.html b/reference/litho-core/com.facebook.litho.drawable/-comparable-drawable-wrapper/index.html index 1bffcea57b3..f5fb09d792b 100644 --- a/reference/litho-core/com.facebook.litho.drawable/-comparable-drawable-wrapper/index.html +++ b/reference/litho-core/com.facebook.litho.drawable/-comparable-drawable-wrapper/index.html @@ -683,7 +683,7 @@

Functions

-
open override fun scheduleDrawable(drawable: Drawable, runnable: Runnable, l: Long)
+
open override fun scheduleDrawable(drawable: Drawable, runnable: Runnable, l: Long)
@@ -698,7 +698,7 @@

Functions

-
open fun scheduleSelf(p0: Runnable, p1: Long)
+
open fun scheduleSelf(p0: Runnable, p1: Long)
@@ -983,7 +983,7 @@

Functions

-
open override fun unscheduleDrawable(drawable: Drawable, runnable: Runnable)
+
open override fun unscheduleDrawable(drawable: Drawable, runnable: Runnable)
@@ -998,7 +998,7 @@

Functions

-
open fun unscheduleSelf(p0: Runnable)
+
open fun unscheduleSelf(p0: Runnable)
diff --git a/reference/litho-core/com.facebook.litho.drawable/-comparable-drawable-wrapper/schedule-drawable.html b/reference/litho-core/com.facebook.litho.drawable/-comparable-drawable-wrapper/schedule-drawable.html index 657bc263b40..512a2e502ab 100644 --- a/reference/litho-core/com.facebook.litho.drawable/-comparable-drawable-wrapper/schedule-drawable.html +++ b/reference/litho-core/com.facebook.litho.drawable/-comparable-drawable-wrapper/schedule-drawable.html @@ -63,7 +63,7 @@

scheduleDrawable

-
open override fun scheduleDrawable(drawable: Drawable, runnable: Runnable, l: Long)
+
open override fun scheduleDrawable(drawable: Drawable, runnable: Runnable, l: Long)
@@ -1482,7 +1482,7 @@

Functions

-
open fun unscheduleSelf(p0: Runnable)
+
open fun unscheduleSelf(p0: Runnable)
diff --git a/reference/litho-core/com.facebook.litho.drawable/index.html b/reference/litho-core/com.facebook.litho.drawable/index.html index e7520660186..c6559a846d2 100644 --- a/reference/litho-core/com.facebook.litho.drawable/index.html +++ b/reference/litho-core/com.facebook.litho.drawable/index.html @@ -108,7 +108,7 @@

Types

-
interface ComparableDrawable : Equivalence<ComparableDrawable>

Comparable Drawable allows drawables to be compared by explicitly implementing the Equivalence.isEquivalentTo. This allows drawables to be compared in a more meaningful way, instead of using Drawable.equals which only checks if the references are equal.

+
interface ComparableDrawable : Equivalence<ComparableDrawable>

Comparable Drawable allows drawables to be compared by explicitly implementing the Equivalence.isEquivalentTo. This allows drawables to be compared in a more meaningful way, instead of using Drawable.equals which only checks if the references are equal.

diff --git a/reference/litho-core/com.facebook.litho.host/-host-view-attributes-cleanup-binder/index.html b/reference/litho-core/com.facebook.litho.host/-host-view-attributes-cleanup-binder/index.html index 330b73f891d..64736451fa9 100644 --- a/reference/litho-core/com.facebook.litho.host/-host-view-attributes-cleanup-binder/index.html +++ b/reference/litho-core/com.facebook.litho.host/-host-view-attributes-cleanup-binder/index.html @@ -113,7 +113,7 @@

Properties

-
open val type: Class<*>
+
open val type: Class<*>
diff --git a/reference/litho-core/com.facebook.litho.lifecycle/-lifecycle-owner-wrapper/index.html b/reference/litho-core/com.facebook.litho.lifecycle/-lifecycle-owner-wrapper/index.html index 983bdd90d0e..50967f18603 100644 --- a/reference/litho-core/com.facebook.litho.lifecycle/-lifecycle-owner-wrapper/index.html +++ b/reference/litho-core/com.facebook.litho.lifecycle/-lifecycle-owner-wrapper/index.html @@ -94,7 +94,7 @@

Properties

diff --git a/reference/litho-core/com.facebook.litho.tools.firstdraw/-first-draw-reporter/index.html b/reference/litho-core/com.facebook.litho.tools.firstdraw/-first-draw-reporter/index.html index b1484861669..44820336292 100644 --- a/reference/litho-core/com.facebook.litho.tools.firstdraw/-first-draw-reporter/index.html +++ b/reference/litho-core/com.facebook.litho.tools.firstdraw/-first-draw-reporter/index.html @@ -113,7 +113,7 @@

Properties

-
open val type: Class<*>
+
open val type: Class<*>
diff --git a/reference/litho-core/com.facebook.litho.transition/-cross-fade/index.html b/reference/litho-core/com.facebook.litho.transition/-cross-fade/index.html index b9cde913528..2fefa49960f 100644 --- a/reference/litho-core/com.facebook.litho.transition/-cross-fade/index.html +++ b/reference/litho-core/com.facebook.litho.transition/-cross-fade/index.html @@ -188,7 +188,7 @@

Functions

-

This indicates the type of the Object that will be returned by mount.

+

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho.transition/-expand-to-reveal/index.html b/reference/litho-core/com.facebook.litho.transition/-expand-to-reveal/index.html index 2cf8db7fae6..4364545869e 100644 --- a/reference/litho-core/com.facebook.litho.transition/-expand-to-reveal/index.html +++ b/reference/litho-core/com.facebook.litho.transition/-expand-to-reveal/index.html @@ -188,7 +188,7 @@

Functions

-

This indicates the type of the Object that will be returned by mount.

+

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho.view/alpha.html b/reference/litho-core/com.facebook.litho.view/alpha.html index 1cb2f57c0bf..bb21befab75 100644 --- a/reference/litho-core/com.facebook.litho.view/alpha.html +++ b/reference/litho-core/com.facebook.litho.view/alpha.html @@ -63,7 +63,7 @@

alpha

-
fun Style.alpha(alpha: Float): Style

Sets an alpha on the View this Component mounts to. Setting this property will cause the Component to be represented as a View at mount time if it wasn't going to already.

See android.view.View.setAlpha

+
fun Style.alpha(alpha: Float): Style

Sets an alpha on the View this Component mounts to. Setting this property will cause the Component to be represented as a View at mount time if it wasn't going to already.

See android.view.View.setAlpha

-

Stop the previous animation and start a new one.

+

Stop the previous animation and start a new one.

diff --git a/reference/litho-core/com.facebook.litho/-animations/-animation-builder/start-and-cancel-previous.html b/reference/litho-core/com.facebook.litho/-animations/-animation-builder/start-and-cancel-previous.html index 6a9ed9acbb1..1235395c352 100644 --- a/reference/litho-core/com.facebook.litho/-animations/-animation-builder/start-and-cancel-previous.html +++ b/reference/litho-core/com.facebook.litho/-animations/-animation-builder/start-and-cancel-previous.html @@ -63,7 +63,7 @@

startAndCancelPrevious

-

Stop the previous animation and start a new one.

Parameters

animatorRef

A reference to the previous animation. This will be changed to the new animation.

+

Stop the previous animation and start a new one.

Parameters

animatorRef

A reference to the previous animation. This will be changed to the new animation.

@@ -237,7 +237,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE: String = "creditCardExpirationDate"
+
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE: String = "creditCardExpirationDate"
@@ -252,7 +252,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY: String = "creditCardExpirationDay"
+
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY: String = "creditCardExpirationDay"
@@ -267,7 +267,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH: String = "creditCardExpirationMonth"
+
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH: String = "creditCardExpirationMonth"
@@ -282,7 +282,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR: String = "creditCardExpirationYear"
+
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR: String = "creditCardExpirationYear"
@@ -297,7 +297,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_NUMBER: String = "creditCardNumber"
+
val AUTOFILL_HINT_CREDIT_CARD_NUMBER: String = "creditCardNumber"
@@ -312,7 +312,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE: String = "creditCardSecurityCode"
+
val AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE: String = "creditCardSecurityCode"
@@ -327,7 +327,7 @@

Properties

-
val AUTOFILL_HINT_EMAIL_ADDRESS: String = "emailAddress"
+
val AUTOFILL_HINT_EMAIL_ADDRESS: String = "emailAddress"
@@ -342,7 +342,7 @@

Properties

- +
@@ -357,7 +357,7 @@

Properties

-
val AUTOFILL_HINT_PASSWORD: String = "password"
+
val AUTOFILL_HINT_PASSWORD: String = "password"
@@ -372,7 +372,7 @@

Properties

- +
@@ -387,7 +387,7 @@

Properties

-
val AUTOFILL_HINT_POSTAL_ADDRESS: String = "postalAddress"
+
val AUTOFILL_HINT_POSTAL_ADDRESS: String = "postalAddress"
@@ -402,7 +402,7 @@

Properties

-
val AUTOFILL_HINT_POSTAL_CODE: String = "postalCode"
+
val AUTOFILL_HINT_POSTAL_CODE: String = "postalCode"
@@ -417,7 +417,7 @@

Properties

-
val AUTOFILL_HINT_USERNAME: String = "username"
+
val AUTOFILL_HINT_USERNAME: String = "username"
@@ -507,7 +507,7 @@

Properties

-
val BadPivotClassErrorMessage: String = "Setting transform pivot is only supported on Views that implement SupportsPivotTransform. If it isn't possible to add this interface to the View in question, wrap this Component in a Row or Column and apply the transform and pivot there instead."
+
val BadPivotClassErrorMessage: String = "Setting transform pivot is only supported on Views that implement SupportsPivotTransform. If it isn't possible to add this interface to the View in question, wrap this Component in a Row or Column and apply the transform and pivot there instead."
@@ -567,7 +567,7 @@

Properties

@@ -1527,7 +1527,7 @@

Properties

-
val PARTIAL_ALPHA_TEXTURE_TOO_BIG: String = "PartialAlphaTextureTooBig"
+
val PARTIAL_ALPHA_TEXTURE_TOO_BIG: String = "PartialAlphaTextureTooBig"
@@ -1602,7 +1602,7 @@

Properties

@@ -1617,7 +1617,7 @@

Properties

@@ -1632,7 +1632,7 @@

Properties

@@ -1647,7 +1647,7 @@

Properties

@@ -1662,7 +1662,7 @@

Properties

@@ -2472,7 +2472,7 @@

Properties

@@ -2487,7 +2487,7 @@

Properties

@@ -2502,7 +2502,7 @@

Properties

@@ -2532,7 +2532,7 @@

Properties

- +
@@ -2547,7 +2547,7 @@

Properties

- +
@@ -2562,7 +2562,7 @@

Properties

- +
@@ -2581,7 +2581,7 @@

Functions

- +
@@ -2596,7 +2596,7 @@

Functions

-
open fun addExtraDataToAccessibilityNodeInfo(info: AccessibilityNodeInfo, extraDataKey: String, arguments: Bundle)
+
open fun addExtraDataToAccessibilityNodeInfo(info: AccessibilityNodeInfo, extraDataKey: String, arguments: Bundle)
@@ -2611,7 +2611,7 @@

Functions

-
open fun addFocusables(views: ArrayList<View>, direction: Int, focusableMode: Int)
+
open fun addFocusables(views: ArrayList<View>, direction: Int, focusableMode: Int)
@@ -2626,7 +2626,7 @@

Functions

-
open fun addKeyboardNavigationClusters(views: Collection<View>, direction: Int)
+
open fun addKeyboardNavigationClusters(views: Collection<View>, direction: Int)
@@ -2701,7 +2701,7 @@

Functions

-
open fun addTouchables(views: ArrayList<View>)
+
open fun addTouchables(views: ArrayList<View>)
@@ -2776,7 +2776,7 @@

Functions

@@ -3271,7 +3271,7 @@

Functions

-
open fun dispatchCreateViewTranslationRequest(viewIds: Map<AutofillId, Array<Long>>, supportedFormats: Array<Int>, capability: TranslationCapability, requests: List<ViewTranslationRequest>)
+
open fun dispatchCreateViewTranslationRequest(viewIds: Map<AutofillId, Array<Long>>, supportedFormats: Array<Int>, capability: TranslationCapability, requests: List<ViewTranslationRequest>)
@@ -3571,7 +3571,7 @@

Functions

-
open fun dispatchScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget>)
+
open fun dispatchScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget>)
@@ -3691,7 +3691,7 @@

Functions

-
open fun dispatchVisibilityEvent(visibilityEventType: Class<out Any>)
Dispatch a visibility events to all the components hosted in this BaseMountingView.
+
open fun dispatchVisibilityEvent(visibilityEventType: Class<out Any>)
Dispatch a visibility events to all the components hosted in this BaseMountingView.
@@ -3751,7 +3751,7 @@

Functions

@@ -3931,7 +3931,7 @@

Functions

-
open fun findViewsWithText(outViews: ArrayList<View>, text: CharSequence, flags: Int)
+
open fun findViewsWithText(outViews: ArrayList<View>, text: CharSequence, flags: Int)
@@ -4036,7 +4036,7 @@

Functions

-
open fun generateDisplayHash(hashAlgorithm: String, bounds: Rect, executor: Executor, callback: DisplayHashResultCallback)
+
open fun generateDisplayHash(hashAlgorithm: String, bounds: Rect, executor: Executor, callback: DisplayHashResultCallback)
@@ -4081,7 +4081,7 @@

Functions

@@ -4141,7 +4141,7 @@

Functions

@@ -4201,7 +4201,7 @@

Functions

@@ -4216,7 +4216,7 @@

Functions

@@ -4306,7 +4306,7 @@

Functions

@@ -4321,7 +4321,7 @@

Functions

- +
@@ -4546,7 +4546,7 @@

Functions

@@ -4681,7 +4681,7 @@

Functions

@@ -4696,7 +4696,7 @@

Functions

@@ -4786,7 +4786,7 @@

Functions

@@ -4816,7 +4816,7 @@

Functions

@@ -4996,7 +4996,7 @@

Functions

-
open fun getFocusables(direction: Int): ArrayList<View>
+
open fun getFocusables(direction: Int): ArrayList<View>
@@ -5206,7 +5206,7 @@

Functions

@@ -5311,7 +5311,7 @@

Functions

@@ -5566,7 +5566,7 @@

Functions

-

Returns the Drawables associated with this ComponentHost for animations, for example the background Drawable and/or the drawable that otherwise has a transitionKey on it that has caused it to be hosted in this ComponentHost.

+

Returns the Drawables associated with this ComponentHost for animations, for example the background Drawable and/or the drawable that otherwise has a transitionKey on it that has caused it to be hosted in this ComponentHost.

@@ -6181,7 +6181,7 @@

Functions

@@ -6211,7 +6211,7 @@

Functions

@@ -6541,7 +6541,7 @@

Functions

@@ -6571,7 +6571,7 @@

Functions

@@ -6631,7 +6631,7 @@

Functions

@@ -6646,7 +6646,7 @@

Functions

-

This is a helper method to get all the text (as CharSequence) that is contained inside this ComponentHost.

+

This is a helper method to get all the text (as CharSequence) that is contained inside this ComponentHost.

@@ -6676,7 +6676,7 @@

Functions

@@ -6706,7 +6706,7 @@

Functions

- +
@@ -6766,7 +6766,7 @@

Functions

- +
@@ -8611,7 +8611,7 @@

Functions

-
open fun onCreateViewTranslationRequest(supportedFormats: Array<Int>, requestsCollector: Consumer<ViewTranslationRequest>)
+
open fun onCreateViewTranslationRequest(supportedFormats: Array<Int>, requestsCollector: Consumer<ViewTranslationRequest>)
@@ -8626,7 +8626,7 @@

Functions

-
open fun onCreateVirtualViewTranslationRequests(virtualIds: Array<Long>, supportedFormats: Array<Int>, requestsCollector: Consumer<ViewTranslationRequest>)
+
open fun onCreateVirtualViewTranslationRequests(virtualIds: Array<Long>, supportedFormats: Array<Int>, requestsCollector: Consumer<ViewTranslationRequest>)
@@ -9136,7 +9136,7 @@

Functions

-
open fun onRegisterForPremount(@Nullable frameTime: Long)
+
open fun onRegisterForPremount(@Nullable frameTime: Long)
@@ -9211,7 +9211,7 @@

Functions

-
open fun onScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget>)
+
open fun onScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget>)
@@ -9526,7 +9526,7 @@

Functions

-
open fun post(action: Runnable): Boolean
+
open fun post(action: Runnable): Boolean
@@ -9541,7 +9541,7 @@

Functions

-
open fun postDelayed(action: Runnable, delayMillis: Long): Boolean
+
open fun postDelayed(action: Runnable, delayMillis: Long): Boolean
@@ -9601,7 +9601,7 @@

Functions

-
open fun postOnAnimation(action: Runnable)
+
open fun postOnAnimation(action: Runnable)
@@ -9616,7 +9616,7 @@

Functions

-
open fun postOnAnimationDelayed(action: Runnable, delayMillis: Long)
+
open fun postOnAnimationDelayed(action: Runnable, delayMillis: Long)
@@ -9721,7 +9721,7 @@

Functions

-
open fun removeCallbacks(action: Runnable): Boolean
+
open fun removeCallbacks(action: Runnable): Boolean
@@ -10201,7 +10201,7 @@

Functions

-
open fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
+
open fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
@@ -10351,7 +10351,7 @@

Functions

-
open fun setAccessibilityPaneTitle(accessibilityPaneTitle: CharSequence)
+
open fun setAccessibilityPaneTitle(accessibilityPaneTitle: CharSequence)
@@ -10441,7 +10441,7 @@

Functions

-
open fun setAllowedHandwritingDelegatePackage(allowedPackageName: String)
+
open fun setAllowedHandwritingDelegatePackage(allowedPackageName: String)
@@ -10456,7 +10456,7 @@

Functions

-
open fun setAllowedHandwritingDelegatorPackage(allowedPackageName: String)
+
open fun setAllowedHandwritingDelegatorPackage(allowedPackageName: String)
@@ -10576,7 +10576,7 @@

Functions

-
open fun setAutofillHints(autofillHints: Array<String>)
+
open fun setAutofillHints(autofillHints: Array<String>)
@@ -11191,7 +11191,7 @@

Functions

@@ -11986,7 +11986,7 @@

Functions

@@ -12211,7 +12211,7 @@

Functions

@@ -12646,7 +12646,7 @@

Functions

-
open fun setStateDescription(stateDescription: CharSequence)
+
open fun setStateDescription(stateDescription: CharSequence)
@@ -12676,7 +12676,7 @@

Functions

@@ -12751,7 +12751,7 @@

Functions

-
open fun setTooltipText(tooltipText: CharSequence)
+
open fun setTooltipText(tooltipText: CharSequence)
@@ -12856,7 +12856,7 @@

Functions

-
fun setTransitionName(transitionName: String)
+
fun setTransitionName(transitionName: String)
@@ -13366,7 +13366,7 @@

Functions

-
open fun toString(): String
+
open fun toString(): String
@@ -13456,7 +13456,7 @@

Functions

-
open fun unscheduleDrawable(who: Drawable, what: Runnable)
+
open fun unscheduleDrawable(who: Drawable, what: Runnable)
diff --git a/reference/litho-core/com.facebook.litho/-base-mounting-view/on-register-for-premount.html b/reference/litho-core/com.facebook.litho/-base-mounting-view/on-register-for-premount.html index b97fd06930c..ea6205b0dae 100644 --- a/reference/litho-core/com.facebook.litho/-base-mounting-view/on-register-for-premount.html +++ b/reference/litho-core/com.facebook.litho/-base-mounting-view/on-register-for-premount.html @@ -63,7 +63,7 @@

onRegisterForPremount

-
open fun onRegisterForPremount(@Nullable frameTime: Long)
+
open fun onRegisterForPremount(@Nullable frameTime: Long)
-
open fun calculateLayoutOutputId(componentKey: String, type: Int): Long
Calculates a returns a unique ID for a given component key and output type.
+
open fun calculateLayoutOutputId(componentKey: String, type: Int): Long
Calculates a returns a unique ID for a given component key and output type.
@@ -162,7 +162,7 @@

Functions

@@ -252,7 +252,7 @@

Functions

-
open fun getCachedValue(globalKey: String, index: Int, cachedValueInputs: Any): Any
+
open fun getCachedValue(globalKey: String, index: Int, cachedValueInputs: Any): Any
@@ -327,7 +327,7 @@

Functions

-
open fun getGlobalKey(): String
+
open fun getGlobalKey(): String
@@ -432,7 +432,7 @@

Functions

- +
@@ -447,7 +447,7 @@

Functions

-
open fun <T> getParentTreeProp(key: Class<T>): T
+
open fun <T> getParentTreeProp(key: Class<T>): T
@@ -552,7 +552,7 @@

Functions

-
open fun getString(@StringRes resId: Int): String
open fun getString(@StringRes resId: Int, formatArgs: Array<Any>): String
+
open fun getString(@StringRes resId: Int): String
open fun getString(@StringRes resId: Int, formatArgs: Array<Any>): String
@@ -567,7 +567,7 @@

Functions

-
open fun getText(@StringRes resId: Int): CharSequence
+
open fun getText(@StringRes resId: Int): CharSequence
@@ -582,7 +582,7 @@

Functions

-
open fun <T> getTreeProp(key: Class<T>): T
+
open fun <T> getTreeProp(key: Class<T>): T
@@ -687,7 +687,7 @@

Functions

-
open fun putCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, @Nullable cachedValue: Any)
+
open fun putCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, @Nullable cachedValue: Any)
@@ -807,7 +807,7 @@

Functions

-
open fun updateStateAsync(stateUpdate: StateContainer.StateUpdate, attribution: String)
Notify the Component Tree that it needs to asynchronously perform a state update.
+
open fun updateStateAsync(stateUpdate: StateContainer.StateUpdate, attribution: String)
Notify the Component Tree that it needs to asynchronously perform a state update.
@@ -837,7 +837,7 @@

Functions

-
open fun updateStateSync(stateUpdate: StateContainer.StateUpdate, attribution: String)
Notify the Component Tree that it needs to synchronously perform a state update.
+
open fun updateStateSync(stateUpdate: StateContainer.StateUpdate, attribution: String)
Notify the Component Tree that it needs to synchronously perform a state update.
@@ -852,7 +852,7 @@

Functions

-
open fun updateStateWithTransition(stateUpdate: StateContainer.StateUpdate, attribution: String)
+
open fun updateStateWithTransition(stateUpdate: StateContainer.StateUpdate, attribution: String)
diff --git a/reference/litho-core/com.facebook.litho/-component-context/put-cached-value.html b/reference/litho-core/com.facebook.litho/-component-context/put-cached-value.html index 5fbf1daa21b..c371d4d0fca 100644 --- a/reference/litho-core/com.facebook.litho/-component-context/put-cached-value.html +++ b/reference/litho-core/com.facebook.litho/-component-context/put-cached-value.html @@ -63,7 +63,7 @@

putCachedValue

-
open fun putCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, @Nullable cachedValue: Any)
+
open fun putCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, @Nullable cachedValue: Any)
@@ -222,7 +222,7 @@

Functions

@@ -237,7 +237,7 @@

Functions

diff --git a/reference/litho-core/com.facebook.litho/-component-host/index.html b/reference/litho-core/com.facebook.litho/-component-host/index.html index 847eb8032eb..b0cef7d3551 100644 --- a/reference/litho-core/com.facebook.litho/-component-host/index.html +++ b/reference/litho-core/com.facebook.litho/-component-host/index.html @@ -113,7 +113,7 @@

Types

-

This exception is to allow us to identify potential wrong modifications of a ComponentHost. This can happen if clients get access to them (e.g. onVisibility callbacks) and then perform modifications such as setting click listeners/modifying alpha. It is important to identify these situations since it can break other behaviors such as host recycling.

+

This exception is to allow us to identify potential wrong modifications of a ComponentHost. This can happen if clients get access to them (e.g. onVisibility callbacks) and then perform modifications such as setting click listeners/modifying alpha. It is important to identify these situations since it can break other behaviors such as host recycling.

@@ -391,7 +391,7 @@

Functions

- +
@@ -421,7 +421,7 @@

Functions

-
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open override fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
+
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open override fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
@@ -511,7 +511,7 @@

Functions

-
open override fun addTouchables(p0: ArrayList<View>)
+
open override fun addTouchables(p0: ArrayList<View>)
@@ -1366,7 +1366,7 @@

Functions

@@ -1711,7 +1711,7 @@

Functions

-
open override fun findViewsWithText(p0: ArrayList<View>, p1: CharSequence, p2: Int)
+
open override fun findViewsWithText(p0: ArrayList<View>, p1: CharSequence, p2: Int)
@@ -1816,7 +1816,7 @@

Functions

@@ -2611,7 +2611,7 @@

Functions

- +
@@ -2821,7 +2821,7 @@

Functions

@@ -4201,7 +4201,7 @@

Functions

- +
@@ -6046,7 +6046,7 @@

Functions

@@ -6061,7 +6061,7 @@

Functions

@@ -6631,7 +6631,7 @@

Functions

@@ -6931,7 +6931,7 @@

Functions

-
open fun post(p0: Runnable): Boolean
+
open fun post(p0: Runnable): Boolean
@@ -6946,7 +6946,7 @@

Functions

-
open fun postDelayed(p0: Runnable, p1: Long): Boolean
+
open fun postDelayed(p0: Runnable, p1: Long): Boolean
@@ -7006,7 +7006,7 @@

Functions

- +
@@ -7021,7 +7021,7 @@

Functions

- +
@@ -7111,7 +7111,7 @@

Functions

- +
@@ -7561,7 +7561,7 @@

Functions

-
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
+
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
@@ -8521,7 +8521,7 @@

Functions

@@ -10696,7 +10696,7 @@

Functions

-
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
+
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
diff --git a/reference/litho-core/com.facebook.litho/-component-scope/index.html b/reference/litho-core/com.facebook.litho/-component-scope/index.html index 9343d5f596b..49e562ef5ab 100644 --- a/reference/litho-core/com.facebook.litho/-component-scope/index.html +++ b/reference/litho-core/com.facebook.litho/-component-scope/index.html @@ -342,7 +342,7 @@

Functions

-
fun ComponentScope.useErrorBoundary(onError: (exception: Exception) -> Unit)

Registers a callback to perform error handling for exceptions that might happen in child components down in the tree.

+
fun ComponentScope.useErrorBoundary(onError: (exception: Exception) -> Unit)

Registers a callback to perform error handling for exceptions that might happen in child components down in the tree.

diff --git a/reference/litho-core/com.facebook.litho/-component-tree/apply-lazy-state-updates-for-container.html b/reference/litho-core/com.facebook.litho/-component-tree/apply-lazy-state-updates-for-container.html index 3d88069a8b4..4b9b3817e77 100644 --- a/reference/litho-core/com.facebook.litho/-component-tree/apply-lazy-state-updates-for-container.html +++ b/reference/litho-core/com.facebook.litho/-component-tree/apply-lazy-state-updates-for-container.html @@ -63,7 +63,7 @@

applyLazyStateUpdatesForContainer

-
open fun applyLazyStateUpdatesForContainer(componentKey: String, container: StateContainer, isLayoutState: Boolean): StateContainer

Return

a StateContainer with lazy state updates applied. This may be the same container passed in if there were no updates to apply. This method won't mutate the passed container.

+
open fun applyLazyStateUpdatesForContainer(componentKey: String, container: StateContainer, isLayoutState: Boolean): StateContainer

Return

a StateContainer with lazy state updates applied. This may be the same container passed in if there were no updates to apply. This method won't mutate the passed container.

-
open fun applyLazyStateUpdatesForContainer(componentKey: String, container: StateContainer, isLayoutState: Boolean): StateContainer
+
open fun applyLazyStateUpdatesForContainer(componentKey: String, container: StateContainer, isLayoutState: Boolean): StateContainer
@@ -270,7 +270,7 @@

Functions

-
open fun <T> canSkipStateUpdate(globalKey: String, hookStateIndex: Int, @Nullable newValue: T, isLayoutState: Boolean): Boolean
open fun <T> canSkipStateUpdate(newValueFunction: (in T) -> out T, globalKey: String, hookStateIndex: Int, isLayoutState: Boolean): Boolean
+
open fun <T> canSkipStateUpdate(globalKey: String, hookStateIndex: Int, @Nullable newValue: T, isLayoutState: Boolean): Boolean
open fun <T> canSkipStateUpdate(newValueFunction: (in T) -> out T, globalKey: String, hookStateIndex: Int, isLayoutState: Boolean): Boolean
@@ -345,7 +345,7 @@

Functions

-
open fun getCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, isLayoutState: Boolean): Any
Returns a Cached value that is accessible across all re-render operations.
+
open fun getCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, isLayoutState: Boolean): Any
Returns a Cached value that is accessible across all re-render operations.
@@ -405,7 +405,7 @@

Functions

-
open fun getEventTrigger(handle: Handle, methodId: Int): EventTrigger
+
open fun getEventTrigger(handle: Handle, methodId: Int): EventTrigger
@@ -495,7 +495,7 @@

Functions

- +
@@ -555,7 +555,7 @@

Functions

@@ -720,7 +720,7 @@

Functions

-
open fun putCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, cachedValue: Any, isLayoutState: Boolean)
Stores a Cached value that will be accessible across all re-render operations.
+
open fun putCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, cachedValue: Any, isLayoutState: Boolean)
Stores a Cached value that will be accessible across all re-render operations.
@@ -765,7 +765,7 @@

Functions

-
open fun removePendingStateUpdate(key: String, nestedTreeContext: Boolean)
Removes a state update that was previously enqueued if the state update has not been processed yet.
+
open fun removePendingStateUpdate(key: String, nestedTreeContext: Boolean)
Removes a state update that was previously enqueued if the state update has not been processed yet.
@@ -780,7 +780,7 @@

Functions

-
open fun setDebugLogsBreadcrumb(@Nullable breadcrumb: String)
This method associates this ComponentTree debug logs with the given String This allows you to create an association of the ComponentTree with any identifier or sorts that enables you to trace the logs of this ComponentTree with the identifier.
+
open fun setDebugLogsBreadcrumb(@Nullable breadcrumb: String)
This method associates this ComponentTree debug logs with the given String This allows you to create an association of the ComponentTree with any identifier or sorts that enables you to trace the logs of this ComponentTree with the identifier.
@@ -975,7 +975,7 @@

Functions

-
fun updateHookStateAsync(globalKey: String, updater: HookUpdater, attribution: String, isLayoutState: Boolean)
Same as updateStateAsync but for Hook State.
+
fun updateHookStateAsync(globalKey: String, updater: HookUpdater, attribution: String, isLayoutState: Boolean)
Same as updateStateAsync but for Hook State.
@@ -990,7 +990,7 @@

Functions

-
fun updateHookStateSync(globalKey: String, updater: HookUpdater, attribution: String, isLayoutState: Boolean)
Same as updateStateSync but for Hook State.
+
fun updateHookStateSync(globalKey: String, updater: HookUpdater, attribution: String, isLayoutState: Boolean)
Same as updateStateSync but for Hook State.
@@ -1020,7 +1020,7 @@

Functions

-
open fun updateStateAsync(componentKey: String, stateUpdate: StateContainer.StateUpdate, attribution: String)

open fun updateStateAsync(componentKey: String, stateUpdate: StateContainer.StateUpdate, attribution: String, isLayoutState: Boolean)
Enqueues a state update that will schedule a new render on a Thread controlled by the Litho infrastructure.
+
open fun updateStateAsync(componentKey: String, stateUpdate: StateContainer.StateUpdate, attribution: String)

open fun updateStateAsync(componentKey: String, stateUpdate: StateContainer.StateUpdate, attribution: String, isLayoutState: Boolean)
Enqueues a state update that will schedule a new render on a Thread controlled by the Litho infrastructure.
@@ -1035,7 +1035,7 @@

Functions

-
open fun updateStateLazy(componentKey: String, stateUpdate: StateContainer.StateUpdate, isLayoutState: Boolean)
Enqueues a state update that will not schedule a new render.
+
open fun updateStateLazy(componentKey: String, stateUpdate: StateContainer.StateUpdate, isLayoutState: Boolean)
Enqueues a state update that will not schedule a new render.
@@ -1050,7 +1050,7 @@

Functions

-
open fun updateStateSync(componentKey: String, stateUpdate: StateContainer.StateUpdate, attribution: String, isLayoutState: Boolean)
Enqueues a state update that will schedule a new render on the calling thread at the end of its current run-loop.
+
open fun updateStateSync(componentKey: String, stateUpdate: StateContainer.StateUpdate, attribution: String, isLayoutState: Boolean)
Enqueues a state update that will schedule a new render on the calling thread at the end of its current run-loop.
diff --git a/reference/litho-core/com.facebook.litho/-component-tree/put-cached-value.html b/reference/litho-core/com.facebook.litho/-component-tree/put-cached-value.html index 04c7ded24dd..00f55e3143d 100644 --- a/reference/litho-core/com.facebook.litho/-component-tree/put-cached-value.html +++ b/reference/litho-core/com.facebook.litho/-component-tree/put-cached-value.html @@ -63,7 +63,7 @@

putCachedValue

-
open fun putCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, cachedValue: Any, isLayoutState: Boolean)

Stores a Cached value that will be accessible across all re-render operations.

+
open fun putCachedValue(globalKey: String, index: Int, cachedValueInputs: Any, cachedValue: Any, isLayoutState: Boolean)

Stores a Cached value that will be accessible across all re-render operations.

-
fun areArraysEquals(classType: Class<*>, val1: Any?, val2: Any?): Boolean
+
fun areArraysEquals(classType: Class<*>, val1: Any?, val2: Any?): Boolean
@@ -94,7 +94,7 @@

Functions

@@ -244,7 +244,7 @@

Functions

-

Calculate the level of the target Component/Section. The level here means how many bracket pairs are needed to break until reaching the component type. For example, the level of List is 1, and the level of List> is 2.

+

Calculate the level of the target Component/Section. The level here means how many bracket pairs are needed to break until reaching the component type. For example, the level of List is 1, and the level of List> is 2.

diff --git a/reference/litho-core/com.facebook.litho/-component-utils/level-of-components-in-collection.html b/reference/litho-core/com.facebook.litho/-component-utils/level-of-components-in-collection.html index 6c9d2e58baf..8aa45535ba9 100644 --- a/reference/litho-core/com.facebook.litho/-component-utils/level-of-components-in-collection.html +++ b/reference/litho-core/com.facebook.litho/-component-utils/level-of-components-in-collection.html @@ -63,7 +63,7 @@

levelOfComponentsInCollection

-

Calculate the level of the target Component/Section. The level here means how many bracket pairs are needed to break until reaching the component type. For example, the level of List is 1, and the level of List> is 2.

Return

the level of the target component, or 0 if the target isn't a component.

+

Calculate the level of the target Component/Section. The level here means how many bracket pairs are needed to break until reaching the component type. For example, the level of List is 1, and the level of List> is 2.

Return

the level of the target component, or 0 if the target isn't a component.

-
open fun accessibilityHeading(isHeading: Boolean): T
Ports setAccessibilityHeading into components world.
+
open fun accessibilityHeading(isHeading: Boolean): T
Ports setAccessibilityHeading into components world.
@@ -94,7 +94,7 @@

Functions

-
open fun accessibilityRole(@Nullable role: String): T
+
open fun accessibilityRole(@Nullable role: String): T
@@ -109,7 +109,7 @@

Functions

-
open fun accessibilityRoleDescription(@Nullable roleDescription: CharSequence): T
open fun accessibilityRoleDescription(@StringRes stringId: Int, formatArgs: Array<Any>): T
+
open fun accessibilityRoleDescription(@Nullable roleDescription: CharSequence): T
open fun accessibilityRoleDescription(@StringRes stringId: Int, formatArgs: Array<Any>): T
@@ -154,7 +154,7 @@

Functions

-
open fun alpha(value: DynamicValue<Float>): T
Links a DynamicValue object ot the alpha value for this Component
open fun alpha(alpha: Float): T
Sets the alpha (opacity) of this component.
+
open fun alpha(value: DynamicValue<Float>): T
Links a DynamicValue object ot the alpha value for this Component
open fun alpha(alpha: Float): T
Sets the alpha (opacity) of this component.
@@ -214,7 +214,7 @@

Functions

-
Links a DynamicValue object to the background color value for this Component
open fun backgroundColor(@ColorInt backgroundColor: Int): T
+
Links a DynamicValue object to the background color value for this Component
open fun backgroundColor(@ColorInt backgroundColor: Int): T
@@ -364,7 +364,7 @@

Functions

-
open fun contentDescription(@StringRes stringId: Int): T
open fun contentDescription(@Nullable contentDescription: CharSequence): T
open fun contentDescription(@StringRes stringId: Int, formatArgs: Array<Any>): T
+
open fun contentDescription(@StringRes stringId: Int): T
open fun contentDescription(@Nullable contentDescription: CharSequence): T
open fun contentDescription(@StringRes stringId: Int, formatArgs: Array<Any>): T
@@ -604,7 +604,7 @@

Functions

-
open fun foregroundColor(@ColorInt foregroundColor: Int): T
+
open fun foregroundColor(@ColorInt foregroundColor: Int): T
@@ -859,7 +859,7 @@

Functions

-
open fun key(@Nullable key: String): T
Set a key on the component that is local to its parent.
+
open fun key(@Nullable key: String): T
Set a key on the component that is local to its parent.
@@ -1624,7 +1624,7 @@

Functions

-
open fun rotation(@Nullable rotation: DynamicValue<Float>): T
Links a DynamicValue object to the rotation value for this Component
open fun rotation(rotation: Float): T
Sets the degree that this component is rotated around the pivot point.
+
open fun rotation(@Nullable rotation: DynamicValue<Float>): T
Links a DynamicValue object to the rotation value for this Component
open fun rotation(rotation: Float): T
Sets the degree that this component is rotated around the pivot point.
@@ -1639,7 +1639,7 @@

Functions

-
open fun rotationX(@Nullable rotationX: DynamicValue<Float>): T
Links a DynamicValue object to the rotationX value for this Component
open fun rotationX(rotationX: Float): T
Sets the degree that this component is rotated around the horizontal axis through the pivot point.
+
open fun rotationX(@Nullable rotationX: DynamicValue<Float>): T
Links a DynamicValue object to the rotationX value for this Component
open fun rotationX(rotationX: Float): T
Sets the degree that this component is rotated around the horizontal axis through the pivot point.
@@ -1654,7 +1654,7 @@

Functions

-
open fun rotationY(@Nullable rotationY: DynamicValue<Float>): T
Links a DynamicValue object to the rotationY value for this Component
open fun rotationY(rotationY: Float): T
Sets the degree that this component is rotated around the vertical axis through the pivot point.
+
open fun rotationY(@Nullable rotationY: DynamicValue<Float>): T
Links a DynamicValue object to the rotationY value for this Component
open fun rotationY(rotationY: Float): T
Sets the degree that this component is rotated around the vertical axis through the pivot point.
@@ -1684,7 +1684,7 @@

Functions

-
open fun scaleX(value: DynamicValue<Float>): T
Links a DynamicValue object to the scaleX value for this Component
+
open fun scaleX(value: DynamicValue<Float>): T
Links a DynamicValue object to the scaleX value for this Component
@@ -1699,7 +1699,7 @@

Functions

-
open fun scaleY(value: DynamicValue<Float>): T
Links a DynamicValue object to the scaleY value for this Component
+
open fun scaleY(value: DynamicValue<Float>): T
Links a DynamicValue object to the scaleY value for this Component
@@ -1774,7 +1774,7 @@

Functions

-
open fun shadowElevation(value: DynamicValue<Float>): T
Links a DynamicValue object to the elevation value for this Component
+
open fun shadowElevation(value: DynamicValue<Float>): T
Links a DynamicValue object to the elevation value for this Component
@@ -1879,7 +1879,7 @@

Functions

-
open fun testKey(@Nullable testKey: String): T
+
open fun testKey(@Nullable testKey: String): T
@@ -1894,7 +1894,7 @@

Functions

-
open fun tooltipText(@Nullable tooltipText: String): T
+
open fun tooltipText(@Nullable tooltipText: String): T
@@ -1984,7 +1984,7 @@

Functions

-
open fun transitionKey(@Nullable key: String): T
+
open fun transitionKey(@Nullable key: String): T
@@ -2014,7 +2014,7 @@

Functions

-
open fun transitionName(@Nullable transitionName: String): T
+
open fun transitionName(@Nullable transitionName: String): T
@@ -2029,7 +2029,7 @@

Functions

-
open fun translationX(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationX value for this Component
+
open fun translationX(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationX value for this Component
@@ -2044,7 +2044,7 @@

Functions

-
open fun translationY(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationY value for this Component
+
open fun translationY(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationY value for this Component
@@ -2059,7 +2059,7 @@

Functions

-
open fun translationZ(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationZ value for this Component
+
open fun translationZ(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationZ value for this Component
@@ -2164,7 +2164,7 @@

Functions

-
open fun visibilityOutputTag(@Nullable visibilityOutputTag: String): T
+
open fun visibilityOutputTag(@Nullable visibilityOutputTag: String): T
diff --git a/reference/litho-core/com.facebook.litho/-component/-builder/key.html b/reference/litho-core/com.facebook.litho/-component/-builder/key.html index dc1dcdb1678..4336f6c2034 100644 --- a/reference/litho-core/com.facebook.litho/-component/-builder/key.html +++ b/reference/litho-core/com.facebook.litho/-component/-builder/key.html @@ -63,7 +63,7 @@

key

-
open fun key(@Nullable key: String): T

Set a key on the component that is local to its parent.

+
open fun key(@Nullable key: String): T

Set a key on the component that is local to its parent.

-
open fun accessibilityHeading(isHeading: Boolean): T
Ports setAccessibilityHeading into components world.
+
open fun accessibilityHeading(isHeading: Boolean): T
Ports setAccessibilityHeading into components world.
@@ -94,7 +94,7 @@

Functions

-
open fun accessibilityRole(@Nullable role: String): T
+
open fun accessibilityRole(@Nullable role: String): T
@@ -109,7 +109,7 @@

Functions

-
open fun accessibilityRoleDescription(@Nullable roleDescription: CharSequence): T
open fun accessibilityRoleDescription(@StringRes stringId: Int, formatArgs: Array<Any>): T
+
open fun accessibilityRoleDescription(@Nullable roleDescription: CharSequence): T
open fun accessibilityRoleDescription(@StringRes stringId: Int, formatArgs: Array<Any>): T
@@ -184,7 +184,7 @@

Functions

-
open fun alpha(value: DynamicValue<Float>): T
Links a DynamicValue object ot the alpha value for this Component
open fun alpha(alpha: Float): T
Sets the alpha (opacity) of this component.
+
open fun alpha(value: DynamicValue<Float>): T
Links a DynamicValue object ot the alpha value for this Component
open fun alpha(alpha: Float): T
Sets the alpha (opacity) of this component.
@@ -244,7 +244,7 @@

Functions

-
Links a DynamicValue object to the background color value for this Component
open fun backgroundColor(@ColorInt backgroundColor: Int): T
+
Links a DynamicValue object to the background color value for this Component
open fun backgroundColor(@ColorInt backgroundColor: Int): T
@@ -409,7 +409,7 @@

Functions

-
open fun contentDescription(@StringRes stringId: Int): T
open fun contentDescription(@Nullable contentDescription: CharSequence): T
open fun contentDescription(@StringRes stringId: Int, formatArgs: Array<Any>): T
+
open fun contentDescription(@StringRes stringId: Int): T
open fun contentDescription(@Nullable contentDescription: CharSequence): T
open fun contentDescription(@StringRes stringId: Int, formatArgs: Array<Any>): T
@@ -649,7 +649,7 @@

Functions

-
open fun foregroundColor(@ColorInt foregroundColor: Int): T
+
open fun foregroundColor(@ColorInt foregroundColor: Int): T
@@ -949,7 +949,7 @@

Functions

-
open fun key(@Nullable key: String): T
Set a key on the component that is local to its parent.
+
open fun key(@Nullable key: String): T
Set a key on the component that is local to its parent.
@@ -1729,7 +1729,7 @@

Functions

-
open fun rotation(@Nullable rotation: DynamicValue<Float>): T
Links a DynamicValue object to the rotation value for this Component
open fun rotation(rotation: Float): T
Sets the degree that this component is rotated around the pivot point.
+
open fun rotation(@Nullable rotation: DynamicValue<Float>): T
Links a DynamicValue object to the rotation value for this Component
open fun rotation(rotation: Float): T
Sets the degree that this component is rotated around the pivot point.
@@ -1744,7 +1744,7 @@

Functions

-
open fun rotationX(@Nullable rotationX: DynamicValue<Float>): T
Links a DynamicValue object to the rotationX value for this Component
open fun rotationX(rotationX: Float): T
Sets the degree that this component is rotated around the horizontal axis through the pivot point.
+
open fun rotationX(@Nullable rotationX: DynamicValue<Float>): T
Links a DynamicValue object to the rotationX value for this Component
open fun rotationX(rotationX: Float): T
Sets the degree that this component is rotated around the horizontal axis through the pivot point.
@@ -1759,7 +1759,7 @@

Functions

-
open fun rotationY(@Nullable rotationY: DynamicValue<Float>): T
Links a DynamicValue object to the rotationY value for this Component
open fun rotationY(rotationY: Float): T
Sets the degree that this component is rotated around the vertical axis through the pivot point.
+
open fun rotationY(@Nullable rotationY: DynamicValue<Float>): T
Links a DynamicValue object to the rotationY value for this Component
open fun rotationY(rotationY: Float): T
Sets the degree that this component is rotated around the vertical axis through the pivot point.
@@ -1789,7 +1789,7 @@

Functions

-
open fun scaleX(value: DynamicValue<Float>): T
Links a DynamicValue object to the scaleX value for this Component
+
open fun scaleX(value: DynamicValue<Float>): T
Links a DynamicValue object to the scaleX value for this Component
@@ -1804,7 +1804,7 @@

Functions

-
open fun scaleY(value: DynamicValue<Float>): T
Links a DynamicValue object to the scaleY value for this Component
+
open fun scaleY(value: DynamicValue<Float>): T
Links a DynamicValue object to the scaleY value for this Component
@@ -1879,7 +1879,7 @@

Functions

-
open fun shadowElevation(value: DynamicValue<Float>): T
Links a DynamicValue object to the elevation value for this Component
+
open fun shadowElevation(value: DynamicValue<Float>): T
Links a DynamicValue object to the elevation value for this Component
@@ -1984,7 +1984,7 @@

Functions

-
open fun testKey(@Nullable testKey: String): T
+
open fun testKey(@Nullable testKey: String): T
@@ -1999,7 +1999,7 @@

Functions

-
open fun tooltipText(@Nullable tooltipText: String): T
+
open fun tooltipText(@Nullable tooltipText: String): T
@@ -2089,7 +2089,7 @@

Functions

-
open fun transitionKey(@Nullable key: String): T
+
open fun transitionKey(@Nullable key: String): T
@@ -2119,7 +2119,7 @@

Functions

-
open fun transitionName(@Nullable transitionName: String): T
+
open fun transitionName(@Nullable transitionName: String): T
@@ -2134,7 +2134,7 @@

Functions

-
open fun translationX(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationX value for this Component
+
open fun translationX(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationX value for this Component
@@ -2149,7 +2149,7 @@

Functions

-
open fun translationY(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationY value for this Component
+
open fun translationY(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationY value for this Component
@@ -2164,7 +2164,7 @@

Functions

-
open fun translationZ(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationZ value for this Component
+
open fun translationZ(value: DynamicValue<Float>): T
Links a DynamicValue object to the translationZ value for this Component
@@ -2269,7 +2269,7 @@

Functions

-
open fun visibilityOutputTag(@Nullable visibilityOutputTag: String): T
+
open fun visibilityOutputTag(@Nullable visibilityOutputTag: String): T
diff --git a/reference/litho-core/com.facebook.litho/-component/-mount-type/index.html b/reference/litho-core/com.facebook.litho/-component/-mount-type/index.html index ce8b7f41820..cdb5341f720 100644 --- a/reference/litho-core/com.facebook.litho/-component/-mount-type/index.html +++ b/reference/litho-core/com.facebook.litho/-component/-mount-type/index.html @@ -143,7 +143,7 @@

Functions

-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

diff --git a/reference/litho-core/com.facebook.litho/-component/-mount-type/value-of.html b/reference/litho-core/com.facebook.litho/-component/-mount-type/value-of.html index 970a8ab98ee..f2d65c01234 100644 --- a/reference/litho-core/com.facebook.litho/-component/-mount-type/value-of.html +++ b/reference/litho-core/com.facebook.litho/-component/-mount-type/value-of.html @@ -63,7 +63,7 @@

valueOf

-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Return

the enum constant with the specified name

Throws

if this enum type has no constant with the specified name

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Return

the enum constant with the specified name

Throws

if this enum type has no constant with the specified name

@@ -218,7 +218,7 @@

Functions

- +
@@ -248,7 +248,7 @@

Functions

-
This indicates the type of the Object that will be returned by mount.
+
This indicates the type of the Object that will be returned by mount.
@@ -263,7 +263,7 @@

Functions

-
open fun getSimpleName(): String
+
open fun getSimpleName(): String
@@ -278,7 +278,7 @@

Functions

-
open fun <T> getTreePropFromParent(parentTreePropContainer: TreePropContainer, key: Class<T>): T
+
open fun <T> getTreePropFromParent(parentTreePropContainer: TreePropContainer, key: Class<T>): T
@@ -428,7 +428,7 @@

Functions

@@ -458,7 +458,7 @@

Functions

- +
diff --git a/reference/litho-core/com.facebook.litho/-component/is-equivalent-to.html b/reference/litho-core/com.facebook.litho/-component/is-equivalent-to.html index 0f131b36d79..c2ac67be59f 100644 --- a/reference/litho-core/com.facebook.litho/-component/is-equivalent-to.html +++ b/reference/litho-core/com.facebook.litho/-component/is-equivalent-to.html @@ -63,7 +63,7 @@

isEquivalentTo

-

Compares this component to a different one to check if they are the same

This is used to be able to skip rendering a component again. We avoid using the equals so we can optimize the code better over time since we don't have to adhere to the contract required for a equals method.

Return

true if the components are of the same type and have the same props

Parameters

other

the component to compare to

+

Compares this component to a different one to check if they are the same

This is used to be able to skip rendering a component again. We avoid using the equals so we can optimize the code better over time since we don't have to adhere to the contract required for a equals method.

Return

true if the components are of the same type and have the same props

Parameters

other

the component to compare to

diff --git a/reference/litho-core/com.facebook.litho/-debug-component-description-helper/add-view-description.html b/reference/litho-core/com.facebook.litho/-debug-component-description-helper/add-view-description.html index 5bdf950f838..6deb778158e 100644 --- a/reference/litho-core/com.facebook.litho/-debug-component-description-helper/add-view-description.html +++ b/reference/litho-core/com.facebook.litho/-debug-component-description-helper/add-view-description.html @@ -63,7 +63,7 @@

addViewDescription

-
fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean)


fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean, extraDescription: DebugComponentDescriptionHelper.ExtraDescription?)

Appends a compact description of a DebugComponent for debugging purposes.

Parameters

debugComponent
sb

The StringBuilder to which the description is appended

leftOffset

Offset of the parent component relative to litho view

topOffset

Offset of the parent component relative to litho view

embedded

Whether the call is embedded in "adb dumpsys activity"

extraDescription

An interface for callsite to append extra description.

+
fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean)


fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean, extraDescription: DebugComponentDescriptionHelper.ExtraDescription?)

Appends a compact description of a DebugComponent for debugging purposes.

Parameters

debugComponent
sb

The StringBuilder to which the description is appended

leftOffset

Offset of the parent component relative to litho view

topOffset

Offset of the parent component relative to litho view

embedded

Whether the call is embedded in "adb dumpsys activity"

extraDescription

An interface for callsite to append extra description.

-
fun interface ExtraDescription

An fun interface for callsite to append extra description into StringBuilder by given DebugComponent.

+
fun interface ExtraDescription

An fun interface for callsite to append extra description into StringBuilder by given DebugComponent.

@@ -98,7 +98,7 @@

Functions

-
fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean)

fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean, extraDescription: DebugComponentDescriptionHelper.ExtraDescription?)

Appends a compact description of a DebugComponent for debugging purposes.

+
fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean)

fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean, extraDescription: DebugComponentDescriptionHelper.ExtraDescription?)

Appends a compact description of a DebugComponent for debugging purposes.

diff --git a/reference/litho-core/com.facebook.litho/-debug-hierarchy/index.html b/reference/litho-core/com.facebook.litho/-debug-hierarchy/index.html index 8c5dfa670dd..f4b4736e57c 100644 --- a/reference/litho-core/com.facebook.litho/-debug-hierarchy/index.html +++ b/reference/litho-core/com.facebook.litho/-debug-hierarchy/index.html @@ -62,7 +62,7 @@

DebugHierarchy

-

DebugHierarchy provides a light(er) weight way to track and access information about the component parentage of a given com.facebook.rendercore.MountItem. For a given com.facebook.rendercore.MountItem, it provides access to a linked list of Class objects representing the class of the Component and each of it's hierarchy parents.

+

DebugHierarchy provides a light(er) weight way to track and access information about the component parentage of a given com.facebook.rendercore.MountItem. For a given com.facebook.rendercore.MountItem, it provides access to a linked list of Class objects representing the class of the Component and each of it's hierarchy parents.

diff --git a/reference/litho-core/com.facebook.litho/-default-error-event-handler/index.html b/reference/litho-core/com.facebook.litho/-default-error-event-handler/index.html index 1ea9a2be308..433dafddd6b 100644 --- a/reference/litho-core/com.facebook.litho/-default-error-event-handler/index.html +++ b/reference/litho-core/com.facebook.litho/-default-error-event-handler/index.html @@ -143,7 +143,7 @@

Functions

-
open override fun call(vararg arguments: Any?): Void?
+
open override fun call(vararg arguments: Any?): Void?
diff --git a/reference/litho-core/com.facebook.litho/-delegating-event-handler/index.html b/reference/litho-core/com.facebook.litho/-delegating-event-handler/index.html index 7009d8f20fb..31a5963a629 100644 --- a/reference/litho-core/com.facebook.litho/-delegating-event-handler/index.html +++ b/reference/litho-core/com.facebook.litho/-delegating-event-handler/index.html @@ -177,7 +177,7 @@

Functions

-
open override fun call(vararg arguments: Any?): Void?
+
open override fun call(vararg arguments: Any?): Void?
diff --git a/reference/litho-core/com.facebook.litho/-diff-node/index.html b/reference/litho-core/com.facebook.litho/-diff-node/index.html index fd50c3331e9..2d6c42c0afa 100644 --- a/reference/litho-core/com.facebook.litho/-diff-node/index.html +++ b/reference/litho-core/com.facebook.litho/-diff-node/index.html @@ -62,7 +62,7 @@

DiffNode

-
interface DiffNode : Cloneable

A lightweight representation of a layout node, used to cache measurements between two Layout tree calculations.

Inheritors

+
interface DiffNode : Cloneable

A lightweight representation of a layout node, used to cache measurements between two Layout tree calculations.

Inheritors

diff --git a/reference/litho-core/com.facebook.litho/-drawable-component/get-mount-type.html b/reference/litho-core/com.facebook.litho/-drawable-component/get-mount-type.html index f49335dab2d..6b5bc685103 100644 --- a/reference/litho-core/com.facebook.litho/-drawable-component/get-mount-type.html +++ b/reference/litho-core/com.facebook.litho/-drawable-component/get-mount-type.html @@ -63,7 +63,7 @@

getMountType

-
open override fun getMountType(): Component.MountType

This indicates the type of the Object that will be returned by mount.

Return

one of com.facebook.litho.Component.MountType

+
open override fun getMountType(): Component.MountType

This indicates the type of the Object that will be returned by mount.

Return

one of com.facebook.litho.Component.MountType

-
open override fun getMountType(): Component.MountType

This indicates the type of the Object that will be returned by mount.

+
open override fun getMountType(): Component.MountType

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho/-drawable-matrix/index.html b/reference/litho-core/com.facebook.litho/-drawable-matrix/index.html index 30906fc7866..0c89eed8cdd 100644 --- a/reference/litho-core/com.facebook.litho/-drawable-matrix/index.html +++ b/reference/litho-core/com.facebook.litho/-drawable-matrix/index.html @@ -98,7 +98,7 @@

Functions

-
fun dump(p0: PrintWriter)
+
fun dump(p0: PrintWriter)
diff --git a/reference/litho-core/com.facebook.litho/-empty-component/index.html b/reference/litho-core/com.facebook.litho/-empty-component/index.html index 7f2db3a2a7f..29744df2a99 100644 --- a/reference/litho-core/com.facebook.litho/-empty-component/index.html +++ b/reference/litho-core/com.facebook.litho/-empty-component/index.html @@ -188,7 +188,7 @@

Functions

-

This indicates the type of the Object that will be returned by mount.

+

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho/-end-to-end-testing-extension/after-mount.html b/reference/litho-core/com.facebook.litho/-end-to-end-testing-extension/after-mount.html index aba667195fd..400bd61ad00 100644 --- a/reference/litho-core/com.facebook.litho/-end-to-end-testing-extension/after-mount.html +++ b/reference/litho-core/com.facebook.litho/-end-to-end-testing-extension/after-mount.html @@ -63,7 +63,7 @@

afterMount

-
open override fun afterMount(extensionState: ExtensionState<Void?>)
+
open override fun afterMount(extensionState: ExtensionState<Void?>)
@@ -151,7 +151,7 @@

Functions

-
open override fun beforeMount(extensionState: ExtensionState<Void?>, input: EndToEndTestingExtension.EndToEndTestingExtensionInput?, localVisibleRect: Rect?)
+
open override fun beforeMount(extensionState: ExtensionState<Void?>, input: EndToEndTestingExtension.EndToEndTestingExtensionInput?, localVisibleRect: Rect?)
@@ -166,7 +166,7 @@

Functions

-
fun createExtensionState(mountDelegate: MountDelegate): ExtensionState<Void?>
+
fun createExtensionState(mountDelegate: MountDelegate): ExtensionState<Void?>
@@ -181,7 +181,7 @@

Functions

-
@VisibleForTesting(otherwise = 2)
fun findTestItems(testKey: String?): Deque<TestItem>
+
@VisibleForTesting(otherwise = 2)
fun findTestItems(testKey: String?): Deque<TestItem>
@@ -196,7 +196,7 @@

Functions

-
open override fun onUnbind(extensionState: ExtensionState<Void?>)
+
open override fun onUnbind(extensionState: ExtensionState<Void?>)
@@ -211,7 +211,7 @@

Functions

-
open override fun onUnmount(extensionState: ExtensionState<Void?>)
+
open override fun onUnmount(extensionState: ExtensionState<Void?>)
diff --git a/reference/litho-core/com.facebook.litho/-end-to-end-testing-extension/on-unbind.html b/reference/litho-core/com.facebook.litho/-end-to-end-testing-extension/on-unbind.html index 0d3947b6c68..e185f0d3c4b 100644 --- a/reference/litho-core/com.facebook.litho/-end-to-end-testing-extension/on-unbind.html +++ b/reference/litho-core/com.facebook.litho/-end-to-end-testing-extension/on-unbind.html @@ -63,7 +63,7 @@

onUnbind

-
open override fun onUnbind(extensionState: ExtensionState<Void?>)
+
open override fun onUnbind(extensionState: ExtensionState<Void?>)
-
open override fun call(vararg arguments: Any?): Void?
+
open override fun call(vararg arguments: Any?): Void?
diff --git a/reference/litho-core/com.facebook.litho/-error-event/exception.html b/reference/litho-core/com.facebook.litho/-error-event/exception.html index 117282bdbd3..40d2aabaafd 100644 --- a/reference/litho-core/com.facebook.litho/-error-event/exception.html +++ b/reference/litho-core/com.facebook.litho/-error-event/exception.html @@ -63,7 +63,7 @@

exception

-

The exception that caused the error event to be raised.

+

The exception that caused the error event to be raised.

-
The exception that caused the error event to be raised.
+
The exception that caused the error event to be raised.
diff --git a/reference/litho-core/com.facebook.litho/-event-handler/-unbound-event-handler.html b/reference/litho-core/com.facebook.litho/-event-handler/-unbound-event-handler.html index 28087ddf604..4ebba00a026 100644 --- a/reference/litho-core/com.facebook.litho/-event-handler/-unbound-event-handler.html +++ b/reference/litho-core/com.facebook.litho/-event-handler/-unbound-event-handler.html @@ -63,7 +63,7 @@

UnboundEventHandler

-
val UnboundEventHandler: String = "UnboundEventHandler"
+
val UnboundEventHandler: String = "UnboundEventHandler"
-
val UnboundEventHandler: String = "UnboundEventHandler"
+
val UnboundEventHandler: String = "UnboundEventHandler"
@@ -177,7 +177,7 @@

Functions

-
open fun call(arguments: Array<Any>): Void
+
open fun call(arguments: Array<Any>): Void
@@ -222,7 +222,7 @@

Functions

-
open fun toString(): String
+
open fun toString(): String
diff --git a/reference/litho-core/com.facebook.litho/-event-handler/to-string.html b/reference/litho-core/com.facebook.litho/-event-handler/to-string.html index 32d412c3876..00af0866122 100644 --- a/reference/litho-core/com.facebook.litho/-event-handler/to-string.html +++ b/reference/litho-core/com.facebook.litho/-event-handler/to-string.html @@ -63,7 +63,7 @@

toString

-
open fun toString(): String
+
open fun toString(): String
@@ -113,7 +113,7 @@

Functions

-
open override fun post(runnable: Runnable, tag: String)
+
open override fun post(runnable: Runnable, tag: String)
@@ -128,7 +128,7 @@

Functions

-
open override fun postAtFront(runnable: Runnable, tag: String)

{@inheritDoc}

+
open override fun postAtFront(runnable: Runnable, tag: String)

{@inheritDoc}

@@ -143,7 +143,7 @@

Functions

-
open override fun remove(runnable: Runnable)

{@inheritDoc}

+
open override fun remove(runnable: Runnable)

{@inheritDoc}

diff --git a/reference/litho-core/com.facebook.litho/-executor-litho-handler/post-at-front.html b/reference/litho-core/com.facebook.litho/-executor-litho-handler/post-at-front.html index 715a5d3a5c3..29cb157bcd4 100644 --- a/reference/litho-core/com.facebook.litho/-executor-litho-handler/post-at-front.html +++ b/reference/litho-core/com.facebook.litho/-executor-litho-handler/post-at-front.html @@ -63,7 +63,7 @@

postAtFront

-
open override fun postAtFront(runnable: Runnable, tag: String)

{@inheritDoc}

In this implementation, postAtFront() is equivalent to post().

+
open override fun postAtFront(runnable: Runnable, tag: String)

{@inheritDoc}

In this implementation, postAtFront() is equivalent to post().

-

This indicates the type of the Object that will be returned by mount.

+

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho/-k-component/is-equivalent-to.html b/reference/litho-core/com.facebook.litho/-k-component/is-equivalent-to.html index 55916180f4d..a71deda28b8 100644 --- a/reference/litho-core/com.facebook.litho/-k-component/is-equivalent-to.html +++ b/reference/litho-core/com.facebook.litho/-k-component/is-equivalent-to.html @@ -63,7 +63,7 @@

isEquivalentTo

-
override fun isEquivalentTo(other: Component?): Boolean

Compares this component to a different one to check if they are the same

This is used to be able to skip rendering a component again. We avoid using the equals so we can optimize the code better over time since we don't have to adhere to the contract required for a equals method.

Return

true if the components are of the same type and have the same props

Parameters

other

the component to compare to

+
override fun isEquivalentTo(other: Component?): Boolean

Compares this component to a different one to check if they are the same

This is used to be able to skip rendering a component again. We avoid using the equals so we can optimize the code better over time since we don't have to adhere to the contract required for a equals method.

Return

true if the components are of the same type and have the same props

Parameters

other

the component to compare to

diff --git a/reference/litho-core/com.facebook.litho/-litho-metadata-exception-wrapper/index.html b/reference/litho-core/com.facebook.litho/-litho-metadata-exception-wrapper/index.html index 8ce63ac1008..3ab89cc7d48 100644 --- a/reference/litho-core/com.facebook.litho/-litho-metadata-exception-wrapper/index.html +++ b/reference/litho-core/com.facebook.litho/-litho-metadata-exception-wrapper/index.html @@ -62,7 +62,7 @@

LithoMetadataExceptionWrapper

-

Exception class used to add additional Litho metadata to a crash.

+

Exception class used to add additional Litho metadata to a crash.

@@ -256,7 +256,7 @@

Functions

@@ -301,7 +301,7 @@

Functions

@@ -316,7 +316,7 @@

Functions

diff --git a/reference/litho-core/com.facebook.litho/-litho-node-utils/create-render-unit.html b/reference/litho-core/com.facebook.litho/-litho-node-utils/create-render-unit.html index 278a9155f5d..82c3366f82e 100644 --- a/reference/litho-core/com.facebook.litho/-litho-node-utils/create-render-unit.html +++ b/reference/litho-core/com.facebook.litho/-litho-node-utils/create-render-unit.html @@ -63,7 +63,7 @@

createRenderUnit

-
fun createRenderUnit(id: Long, component: Component, commonDynamicProps: SparseArray<DynamicValue<*>>? = null, context: ComponentContext, node: LithoNode, importantForAccessibility: Int, updateState: Int, duplicateParentState: Boolean = false, duplicateChildrenStates: Boolean = false, hasHostView: Boolean = false, isMountViewSpec: Boolean = false, customDelegateBindersForMountSpec: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null, debugKey: String? = null, viewAttributes: ViewAttributes?): LithoRenderUnit

Generic method to create a LithoRenderUnit.

+
fun createRenderUnit(id: Long, component: Component, commonDynamicProps: SparseArray<DynamicValue<*>>? = null, context: ComponentContext, node: LithoNode, importantForAccessibility: Int, updateState: Int, duplicateParentState: Boolean = false, duplicateChildrenStates: Boolean = false, hasHostView: Boolean = false, isMountViewSpec: Boolean = false, customDelegateBindersForMountSpec: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null, debugKey: String? = null, viewAttributes: ViewAttributes?): LithoRenderUnit

Generic method to create a LithoRenderUnit.

-
fun createRenderUnit(id: Long, component: Component, commonDynamicProps: SparseArray<DynamicValue<*>>? = null, context: ComponentContext, node: LithoNode, importantForAccessibility: Int, updateState: Int, duplicateParentState: Boolean = false, duplicateChildrenStates: Boolean = false, hasHostView: Boolean = false, isMountViewSpec: Boolean = false, customDelegateBindersForMountSpec: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null, debugKey: String? = null, viewAttributes: ViewAttributes?): LithoRenderUnit

Generic method to create a LithoRenderUnit.

+
fun createRenderUnit(id: Long, component: Component, commonDynamicProps: SparseArray<DynamicValue<*>>? = null, context: ComponentContext, node: LithoNode, importantForAccessibility: Int, updateState: Int, duplicateParentState: Boolean = false, duplicateChildrenStates: Boolean = false, hasHostView: Boolean = false, isMountViewSpec: Boolean = false, customDelegateBindersForMountSpec: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null, debugKey: String? = null, viewAttributes: ViewAttributes?): LithoRenderUnit

Generic method to create a LithoRenderUnit.

diff --git a/reference/litho-core/com.facebook.litho/-litho-node/add-custom-binders.html b/reference/litho-core/com.facebook.litho/-litho-node/add-custom-binders.html index 6a26d498494..1a5cbaff209 100644 --- a/reference/litho-core/com.facebook.litho/-litho-node/add-custom-binders.html +++ b/reference/litho-core/com.facebook.litho/-litho-node/add-custom-binders.html @@ -63,7 +63,7 @@

addCustomBinders

-
fun addCustomBinders(binders: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)
+
fun addCustomBinders(binders: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)
-
var customBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?
+
var customBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?
@@ -237,7 +237,7 @@

Properties

-
var customViewBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?

Returns a nullable map of RenderUnit.DelegateBinder that is aimed to be used to set the optional mount binders right after creating a MountSpecLithoRenderUnit.

+
var customViewBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?

Returns a nullable map of RenderUnit.DelegateBinder that is aimed to be used to set the optional mount binders right after creating a MountSpecLithoRenderUnit.

@@ -1006,7 +1006,7 @@

Functions

-
fun addCustomBinders(binders: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)
+
fun addCustomBinders(binders: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)
@@ -1051,7 +1051,7 @@

Functions

-
fun addViewCustomBinders(viewBindersMap: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)

The goal of this method is to add the optional mount binders to the associated to this LithoNode. If we are dealing with a Primitive, we will get the corresponding LithoNode and associate the binders map as optional mount binders. For this reason, this method should be called as soon as their RenderUnit is created. In Litho, this happens in the Resolve phase, specifically when the mount content preparation is invoked.

+
fun addViewCustomBinders(viewBindersMap: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)

The goal of this method is to add the optional mount binders to the associated to this LithoNode. If we are dealing with a Primitive, we will get the corresponding LithoNode and associate the binders map as optional mount binders. For this reason, this method should be called as soon as their RenderUnit is created. In Litho, this happens in the Resolve phase, specifically when the mount content preparation is invoked.

diff --git a/reference/litho-core/com.facebook.litho/-litho-render-tree-view/index.html b/reference/litho-core/com.facebook.litho/-litho-render-tree-view/index.html index 3d3f8bd4961..5f1786f4b44 100644 --- a/reference/litho-core/com.facebook.litho/-litho-render-tree-view/index.html +++ b/reference/litho-core/com.facebook.litho/-litho-render-tree-view/index.html @@ -387,7 +387,7 @@

Functions

- +
@@ -417,7 +417,7 @@

Functions

-
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open override fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
+
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open override fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
@@ -507,7 +507,7 @@

Functions

-
open override fun addTouchables(p0: ArrayList<View>)
+
open override fun addTouchables(p0: ArrayList<View>)
@@ -1377,7 +1377,7 @@

Functions

@@ -1497,7 +1497,7 @@

Functions

-
open fun dispatchVisibilityEvent(visibilityEventType: Class<*>)

Dispatch a visibility events to all the components hosted in this BaseMountingView.

+
open fun dispatchVisibilityEvent(visibilityEventType: Class<*>)

Dispatch a visibility events to all the components hosted in this BaseMountingView.

@@ -1737,7 +1737,7 @@

Functions

-
open override fun findViewsWithText(p0: ArrayList<View>, p1: CharSequence, p2: Int)
+
open override fun findViewsWithText(p0: ArrayList<View>, p1: CharSequence, p2: Int)
@@ -1842,7 +1842,7 @@

Functions

@@ -2667,7 +2667,7 @@

Functions

- +
@@ -2877,7 +2877,7 @@

Functions

@@ -4287,7 +4287,7 @@

Functions

- +
@@ -6162,7 +6162,7 @@

Functions

@@ -6177,7 +6177,7 @@

Functions

@@ -6762,7 +6762,7 @@

Functions

@@ -7092,7 +7092,7 @@

Functions

-
open fun post(p0: Runnable): Boolean
+
open fun post(p0: Runnable): Boolean
@@ -7107,7 +7107,7 @@

Functions

-
open fun postDelayed(p0: Runnable, p1: Long): Boolean
+
open fun postDelayed(p0: Runnable, p1: Long): Boolean
@@ -7167,7 +7167,7 @@

Functions

- +
@@ -7182,7 +7182,7 @@

Functions

- +
@@ -7287,7 +7287,7 @@

Functions

- +
@@ -7737,7 +7737,7 @@

Functions

-
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
+
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
@@ -8712,7 +8712,7 @@

Functions

@@ -10992,7 +10992,7 @@

Functions

-
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
+
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
diff --git a/reference/litho-core/com.facebook.litho/-litho-render-unit/index.html b/reference/litho-core/com.facebook.litho/-litho-render-unit/index.html index da5172a63e0..3cfd0929d17 100644 --- a/reference/litho-core/com.facebook.litho/-litho-render-unit/index.html +++ b/reference/litho-core/com.facebook.litho/-litho-render-unit/index.html @@ -447,7 +447,7 @@

Functions

-
open fun <T : RenderUnit.Binder<*, *, *>?> findAttachBinderByClass(klass: Class<T>): T?
+
open fun <T : RenderUnit.Binder<*, *, *>?> findAttachBinderByClass(klass: Class<T>): T?
diff --git a/reference/litho-core/com.facebook.litho/-litho-tree/index.html b/reference/litho-core/com.facebook.litho/-litho-tree/index.html index eebe2a6188d..c4196cd676f 100644 --- a/reference/litho-core/com.facebook.litho/-litho-tree/index.html +++ b/reference/litho-core/com.facebook.litho/-litho-tree/index.html @@ -147,7 +147,7 @@

Properties

diff --git a/reference/litho-core/com.facebook.litho/-litho-tree/internal-scope-ref.html b/reference/litho-core/com.facebook.litho/-litho-tree/internal-scope-ref.html index efc7a92cb99..d8ae948caee 100644 --- a/reference/litho-core/com.facebook.litho/-litho-tree/internal-scope-ref.html +++ b/reference/litho-core/com.facebook.litho/-litho-tree/internal-scope-ref.html @@ -63,7 +63,7 @@

internalScopeRef

- +
-

Finds a TestItem given a LithoView based on the test key it was assigned during construction.

+

Finds a TestItem given a LithoView based on the test key it was assigned during construction.

diff --git a/reference/litho-core/com.facebook.litho/-litho-view/-layout-manager-override-params/index.html b/reference/litho-core/com.facebook.litho/-litho-view/-layout-manager-override-params/index.html index b00fa77f66a..7fdf1bfd5e3 100644 --- a/reference/litho-core/com.facebook.litho/-litho-view/-layout-manager-override-params/index.html +++ b/reference/litho-core/com.facebook.litho/-litho-view/-layout-manager-override-params/index.html @@ -62,7 +62,7 @@

LayoutManagerOverrideParams

-

LayoutParams that override the LayoutManager.

If you set LayoutParams on a LithoView that implements this interface, the view will completely ignore the layout specs given to it by its LayoutManager and use these specs instead. To use, set the LayoutParams height and width to WRAP_CONTENT and then provide a width and height measure spec though this interface.

This is helpful for implementing AT_MOST support since Android LayoutManagers don't support an AT_MOST concept as part of ViewGroup.LayoutParams's special values.

+

LayoutParams that override the LayoutManager.

If you set LayoutParams on a LithoView that implements this interface, the view will completely ignore the layout specs given to it by its LayoutManager and use these specs instead. To use, set the LayoutParams height and width to WRAP_CONTENT and then provide a width and height measure spec though this interface.

This is helpful for implementing AT_MOST support since Android LayoutManagers don't support an AT_MOST concept as part of ViewGroup.LayoutParams's special values.

diff --git a/reference/litho-core/com.facebook.litho/-litho-view/get-host-hierarchy-mount-state-identifier.html b/reference/litho-core/com.facebook.litho/-litho-view/get-host-hierarchy-mount-state-identifier.html index d9869b467b9..6f8b9d9b3b7 100644 --- a/reference/litho-core/com.facebook.litho/-litho-view/get-host-hierarchy-mount-state-identifier.html +++ b/reference/litho-core/com.facebook.litho/-litho-view/get-host-hierarchy-mount-state-identifier.html @@ -63,7 +63,7 @@

getHostHierarchyMountStateIdentifier

-

For Litho we will use the root as hint for which is the hierarchy backed by the .

+

For Litho we will use the root as hint for which is the hierarchy backed by the .

@@ -252,7 +252,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE: String = "creditCardExpirationDate"
+
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE: String = "creditCardExpirationDate"
@@ -267,7 +267,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY: String = "creditCardExpirationDay"
+
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY: String = "creditCardExpirationDay"
@@ -282,7 +282,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH: String = "creditCardExpirationMonth"
+
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH: String = "creditCardExpirationMonth"
@@ -297,7 +297,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR: String = "creditCardExpirationYear"
+
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR: String = "creditCardExpirationYear"
@@ -312,7 +312,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_NUMBER: String = "creditCardNumber"
+
val AUTOFILL_HINT_CREDIT_CARD_NUMBER: String = "creditCardNumber"
@@ -327,7 +327,7 @@

Properties

-
val AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE: String = "creditCardSecurityCode"
+
val AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE: String = "creditCardSecurityCode"
@@ -342,7 +342,7 @@

Properties

-
val AUTOFILL_HINT_EMAIL_ADDRESS: String = "emailAddress"
+
val AUTOFILL_HINT_EMAIL_ADDRESS: String = "emailAddress"
@@ -357,7 +357,7 @@

Properties

- +
@@ -372,7 +372,7 @@

Properties

-
val AUTOFILL_HINT_PASSWORD: String = "password"
+
val AUTOFILL_HINT_PASSWORD: String = "password"
@@ -387,7 +387,7 @@

Properties

- +
@@ -402,7 +402,7 @@

Properties

-
val AUTOFILL_HINT_POSTAL_ADDRESS: String = "postalAddress"
+
val AUTOFILL_HINT_POSTAL_ADDRESS: String = "postalAddress"
@@ -417,7 +417,7 @@

Properties

-
val AUTOFILL_HINT_POSTAL_CODE: String = "postalCode"
+
val AUTOFILL_HINT_POSTAL_CODE: String = "postalCode"
@@ -432,7 +432,7 @@

Properties

-
val AUTOFILL_HINT_USERNAME: String = "username"
+
val AUTOFILL_HINT_USERNAME: String = "username"
@@ -522,7 +522,7 @@

Properties

-
val BadPivotClassErrorMessage: String = "Setting transform pivot is only supported on Views that implement SupportsPivotTransform. If it isn't possible to add this interface to the View in question, wrap this Component in a Row or Column and apply the transform and pivot there instead."
+
val BadPivotClassErrorMessage: String = "Setting transform pivot is only supported on Views that implement SupportsPivotTransform. If it isn't possible to add this interface to the View in question, wrap this Component in a Row or Column and apply the transform and pivot there instead."
@@ -582,7 +582,7 @@

Properties

@@ -1542,7 +1542,7 @@

Properties

-
val PARTIAL_ALPHA_TEXTURE_TOO_BIG: String = "PartialAlphaTextureTooBig"
+
val PARTIAL_ALPHA_TEXTURE_TOO_BIG: String = "PartialAlphaTextureTooBig"
@@ -1617,7 +1617,7 @@

Properties

@@ -1632,7 +1632,7 @@

Properties

@@ -1647,7 +1647,7 @@

Properties

@@ -1662,7 +1662,7 @@

Properties

@@ -1677,7 +1677,7 @@

Properties

@@ -2487,7 +2487,7 @@

Properties

@@ -2502,7 +2502,7 @@

Properties

@@ -2517,7 +2517,7 @@

Properties

@@ -2547,7 +2547,7 @@

Properties

- +
@@ -2562,7 +2562,7 @@

Properties

- +
@@ -2577,7 +2577,7 @@

Properties

- +
@@ -2596,7 +2596,7 @@

Functions

- +
@@ -2611,7 +2611,7 @@

Functions

-
open fun addExtraDataToAccessibilityNodeInfo(info: AccessibilityNodeInfo, extraDataKey: String, arguments: Bundle)
+
open fun addExtraDataToAccessibilityNodeInfo(info: AccessibilityNodeInfo, extraDataKey: String, arguments: Bundle)
@@ -2626,7 +2626,7 @@

Functions

-
open fun addFocusables(views: ArrayList<View>, direction: Int, focusableMode: Int)
+
open fun addFocusables(views: ArrayList<View>, direction: Int, focusableMode: Int)
@@ -2641,7 +2641,7 @@

Functions

-
open fun addKeyboardNavigationClusters(views: Collection<View>, direction: Int)
+
open fun addKeyboardNavigationClusters(views: Collection<View>, direction: Int)
@@ -2716,7 +2716,7 @@

Functions

-
open fun addTouchables(views: ArrayList<View>)
+
open fun addTouchables(views: ArrayList<View>)
@@ -2791,7 +2791,7 @@

Functions

@@ -3316,7 +3316,7 @@

Functions

-
open fun dispatchCreateViewTranslationRequest(viewIds: Map<AutofillId, Array<Long>>, supportedFormats: Array<Int>, capability: TranslationCapability, requests: List<ViewTranslationRequest>)
+
open fun dispatchCreateViewTranslationRequest(viewIds: Map<AutofillId, Array<Long>>, supportedFormats: Array<Int>, capability: TranslationCapability, requests: List<ViewTranslationRequest>)
@@ -3616,7 +3616,7 @@

Functions

-
open fun dispatchScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget>)
+
open fun dispatchScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget>)
@@ -3736,7 +3736,7 @@

Functions

-
open fun dispatchVisibilityEvent(visibilityEventType: Class<out Any>)
Dispatch a visibility events to all the components hosted in this BaseMountingView.
+
open fun dispatchVisibilityEvent(visibilityEventType: Class<out Any>)
Dispatch a visibility events to all the components hosted in this BaseMountingView.
@@ -3796,7 +3796,7 @@

Functions

@@ -3976,7 +3976,7 @@

Functions

-
open fun findViewsWithText(outViews: ArrayList<View>, text: CharSequence, flags: Int)
+
open fun findViewsWithText(outViews: ArrayList<View>, text: CharSequence, flags: Int)
@@ -4081,7 +4081,7 @@

Functions

-
open fun generateDisplayHash(hashAlgorithm: String, bounds: Rect, executor: Executor, callback: DisplayHashResultCallback)
+
open fun generateDisplayHash(hashAlgorithm: String, bounds: Rect, executor: Executor, callback: DisplayHashResultCallback)
@@ -4126,7 +4126,7 @@

Functions

@@ -4186,7 +4186,7 @@

Functions

@@ -4246,7 +4246,7 @@

Functions

@@ -4261,7 +4261,7 @@

Functions

@@ -4351,7 +4351,7 @@

Functions

@@ -4366,7 +4366,7 @@

Functions

- +
@@ -4591,7 +4591,7 @@

Functions

@@ -4756,7 +4756,7 @@

Functions

@@ -4771,7 +4771,7 @@

Functions

@@ -4861,7 +4861,7 @@

Functions

@@ -4891,7 +4891,7 @@

Functions

@@ -5086,7 +5086,7 @@

Functions

-
open fun getFocusables(direction: Int): ArrayList<View>
+
open fun getFocusables(direction: Int): ArrayList<View>
@@ -5296,7 +5296,7 @@

Functions

@@ -5401,7 +5401,7 @@

Functions

-
For Litho we will use the root as hint for which is the hierarchy backed by the .
+
For Litho we will use the root as hint for which is the hierarchy backed by the .
@@ -5656,7 +5656,7 @@

Functions

-

Returns the Drawables associated with this ComponentHost for animations, for example the background Drawable and/or the drawable that otherwise has a transitionKey on it that has caused it to be hosted in this ComponentHost.

+

Returns the Drawables associated with this ComponentHost for animations, for example the background Drawable and/or the drawable that otherwise has a transitionKey on it that has caused it to be hosted in this ComponentHost.

@@ -6271,7 +6271,7 @@

Functions

@@ -6301,7 +6301,7 @@

Functions

@@ -6646,7 +6646,7 @@

Functions

@@ -6676,7 +6676,7 @@

Functions

@@ -6736,7 +6736,7 @@

Functions

@@ -6751,7 +6751,7 @@

Functions

-

This is a helper method to get all the text (as CharSequence) that is contained inside this ComponentHost.

+

This is a helper method to get all the text (as CharSequence) that is contained inside this ComponentHost.

@@ -6781,7 +6781,7 @@

Functions

@@ -6811,7 +6811,7 @@

Functions

- +
@@ -6871,7 +6871,7 @@

Functions

- +
@@ -8746,7 +8746,7 @@

Functions

-
open fun onCreateViewTranslationRequest(supportedFormats: Array<Int>, requestsCollector: Consumer<ViewTranslationRequest>)
+
open fun onCreateViewTranslationRequest(supportedFormats: Array<Int>, requestsCollector: Consumer<ViewTranslationRequest>)
@@ -8761,7 +8761,7 @@

Functions

-
open fun onCreateVirtualViewTranslationRequests(virtualIds: Array<Long>, supportedFormats: Array<Int>, requestsCollector: Consumer<ViewTranslationRequest>)
+
open fun onCreateVirtualViewTranslationRequests(virtualIds: Array<Long>, supportedFormats: Array<Int>, requestsCollector: Consumer<ViewTranslationRequest>)
@@ -9286,7 +9286,7 @@

Functions

-
open fun onRegisterForPremount(@Nullable frameTime: Long)
abstract fun onRegisterForPremount(p: Long)
+
open fun onRegisterForPremount(@Nullable frameTime: Long)
abstract fun onRegisterForPremount(p: Long)
@@ -9361,7 +9361,7 @@

Functions

-
open fun onScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget>)
+
open fun onScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget>)
@@ -9676,7 +9676,7 @@

Functions

-
open fun post(action: Runnable): Boolean
+
open fun post(action: Runnable): Boolean
@@ -9691,7 +9691,7 @@

Functions

-
open fun postDelayed(action: Runnable, delayMillis: Long): Boolean
+
open fun postDelayed(action: Runnable, delayMillis: Long): Boolean
@@ -9751,7 +9751,7 @@

Functions

-
open fun postOnAnimation(action: Runnable)
+
open fun postOnAnimation(action: Runnable)
@@ -9766,7 +9766,7 @@

Functions

-
open fun postOnAnimationDelayed(action: Runnable, delayMillis: Long)
+
open fun postOnAnimationDelayed(action: Runnable, delayMillis: Long)
@@ -9886,7 +9886,7 @@

Functions

-
open fun removeCallbacks(action: Runnable): Boolean
+
open fun removeCallbacks(action: Runnable): Boolean
@@ -10396,7 +10396,7 @@

Functions

-
open fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
+
open fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
@@ -10546,7 +10546,7 @@

Functions

-
open fun setAccessibilityPaneTitle(accessibilityPaneTitle: CharSequence)
+
open fun setAccessibilityPaneTitle(accessibilityPaneTitle: CharSequence)
@@ -10636,7 +10636,7 @@

Functions

-
open fun setAllowedHandwritingDelegatePackage(allowedPackageName: String)
+
open fun setAllowedHandwritingDelegatePackage(allowedPackageName: String)
@@ -10651,7 +10651,7 @@

Functions

-
open fun setAllowedHandwritingDelegatorPackage(allowedPackageName: String)
+
open fun setAllowedHandwritingDelegatorPackage(allowedPackageName: String)
@@ -10771,7 +10771,7 @@

Functions

-
open fun setAutofillHints(autofillHints: Array<String>)
+
open fun setAutofillHints(autofillHints: Array<String>)
@@ -11431,7 +11431,7 @@

Functions

@@ -11926,7 +11926,7 @@

Functions

-
open fun setMountStartupLoggingInfo(startupLogger: LithoStartupLogger, startupLoggerAttribution: String, firstMountCalled: Array<Boolean>, lastMountCalled: Array<Boolean>, isLastAdapterItem: Boolean, isOrientationVertical: Boolean)
+
open fun setMountStartupLoggingInfo(startupLogger: LithoStartupLogger, startupLoggerAttribution: String, firstMountCalled: Array<Boolean>, lastMountCalled: Array<Boolean>, isLastAdapterItem: Boolean, isOrientationVertical: Boolean)
@@ -12256,7 +12256,7 @@

Functions

@@ -12481,7 +12481,7 @@

Functions

@@ -12916,7 +12916,7 @@

Functions

-
open fun setStateDescription(stateDescription: CharSequence)
+
open fun setStateDescription(stateDescription: CharSequence)
@@ -12946,7 +12946,7 @@

Functions

@@ -13036,7 +13036,7 @@

Functions

-
open fun setTooltipText(tooltipText: CharSequence)
+
open fun setTooltipText(tooltipText: CharSequence)
@@ -13141,7 +13141,7 @@

Functions

-
fun setTransitionName(transitionName: String)
+
fun setTransitionName(transitionName: String)
@@ -13681,7 +13681,7 @@

Functions

-
open fun toString(): String
+
open fun toString(): String
@@ -13771,7 +13771,7 @@

Functions

-
open fun unscheduleDrawable(who: Drawable, what: Runnable)
+
open fun unscheduleDrawable(who: Drawable, what: Runnable)
diff --git a/reference/litho-core/com.facebook.litho/-litho-view/set-mount-startup-logging-info.html b/reference/litho-core/com.facebook.litho/-litho-view/set-mount-startup-logging-info.html index c54529a201d..cdfafa93fb0 100644 --- a/reference/litho-core/com.facebook.litho/-litho-view/set-mount-startup-logging-info.html +++ b/reference/litho-core/com.facebook.litho/-litho-view/set-mount-startup-logging-info.html @@ -63,7 +63,7 @@

setMountStartupLoggingInfo

-
open fun setMountStartupLoggingInfo(startupLogger: LithoStartupLogger, startupLoggerAttribution: String, firstMountCalled: Array<Boolean>, lastMountCalled: Array<Boolean>, isLastAdapterItem: Boolean, isOrientationVertical: Boolean)
+
open fun setMountStartupLoggingInfo(startupLogger: LithoStartupLogger, startupLoggerAttribution: String, firstMountCalled: Array<Boolean>, lastMountCalled: Array<Boolean>, isLastAdapterItem: Boolean, isOrientationVertical: Boolean)
diff --git a/reference/litho-core/com.facebook.litho/-matrix-drawable/schedule-drawable.html b/reference/litho-core/com.facebook.litho/-matrix-drawable/schedule-drawable.html index e8331e4da39..ae04e6eb5f8 100644 --- a/reference/litho-core/com.facebook.litho/-matrix-drawable/schedule-drawable.html +++ b/reference/litho-core/com.facebook.litho/-matrix-drawable/schedule-drawable.html @@ -63,7 +63,7 @@

scheduleDrawable

-
open override fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
+
open override fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
-
open fun <T : RenderUnit.Binder<*, *, *>?> findAttachBinderByClass(klass: Class<T>): T?
+
open fun <T : RenderUnit.Binder<*, *, *>?> findAttachBinderByClass(klass: Class<T>): T?
diff --git a/reference/litho-core/com.facebook.litho/-nested-litho-views-extension/before-mount-item.html b/reference/litho-core/com.facebook.litho/-nested-litho-views-extension/before-mount-item.html index dbe713dadbe..fce0849d858 100644 --- a/reference/litho-core/com.facebook.litho/-nested-litho-views-extension/before-mount-item.html +++ b/reference/litho-core/com.facebook.litho/-nested-litho-views-extension/before-mount-item.html @@ -63,7 +63,7 @@

beforeMountItem

-
open override fun beforeMountItem(extensionState: ExtensionState<Void?>, renderTreeNode: RenderTreeNode, index: Int)
+
open override fun beforeMountItem(extensionState: ExtensionState<Void?>, renderTreeNode: RenderTreeNode, index: Int)
@@ -132,7 +132,7 @@

Functions

-
open fun beforeMount(extensionState: ExtensionState<Void?>, input: Void?, localVisibleRect: Rect?)
+
open fun beforeMount(extensionState: ExtensionState<Void?>, input: Void?, localVisibleRect: Rect?)
@@ -147,7 +147,7 @@

Functions

-
open override fun beforeMountItem(extensionState: ExtensionState<Void?>, renderTreeNode: RenderTreeNode, index: Int)
+
open override fun beforeMountItem(extensionState: ExtensionState<Void?>, renderTreeNode: RenderTreeNode, index: Int)
@@ -162,7 +162,7 @@

Functions

-
fun createExtensionState(mountDelegate: MountDelegate): ExtensionState<Void?>
+
fun createExtensionState(mountDelegate: MountDelegate): ExtensionState<Void?>
@@ -177,7 +177,7 @@

Functions

-
open override fun onBindItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
+
open override fun onBindItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
@@ -192,7 +192,7 @@

Functions

-
open override fun onBoundsAppliedToItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?, changed: Boolean)
+
open override fun onBoundsAppliedToItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?, changed: Boolean)
@@ -207,7 +207,7 @@

Functions

-
open override fun onMountItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
+
open override fun onMountItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
@@ -222,7 +222,7 @@

Functions

-
open fun onUnbind(extensionState: ExtensionState<Void?>)
+
open fun onUnbind(extensionState: ExtensionState<Void?>)
@@ -237,7 +237,7 @@

Functions

-
open override fun onUnbindItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
+
open override fun onUnbindItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
@@ -252,7 +252,7 @@

Functions

-
open fun onUnmount(extensionState: ExtensionState<Void?>)
+
open fun onUnmount(extensionState: ExtensionState<Void?>)
@@ -267,7 +267,7 @@

Functions

-
open override fun onUnmountItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
+
open override fun onUnmountItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
@@ -282,7 +282,7 @@

Functions

-
open override fun shouldUpdateItem(extensionState: ExtensionState<Void?>, previousRenderUnit: RenderUnit<*>, previousLayoutData: Any?, nextRenderUnit: RenderUnit<*>, nextLayoutData: Any?): Boolean
+
open override fun shouldUpdateItem(extensionState: ExtensionState<Void?>, previousRenderUnit: RenderUnit<*>, previousLayoutData: Any?, nextRenderUnit: RenderUnit<*>, nextLayoutData: Any?): Boolean
diff --git a/reference/litho-core/com.facebook.litho/-nested-litho-views-extension/on-bind-item.html b/reference/litho-core/com.facebook.litho/-nested-litho-views-extension/on-bind-item.html index 9356429f0c4..974f56398ea 100644 --- a/reference/litho-core/com.facebook.litho/-nested-litho-views-extension/on-bind-item.html +++ b/reference/litho-core/com.facebook.litho/-nested-litho-views-extension/on-bind-item.html @@ -63,7 +63,7 @@

onBindItem

-
open override fun onBindItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
+
open override fun onBindItem(extensionState: ExtensionState<Void?>, renderUnit: RenderUnit<*>, content: Any, layoutData: Any?)
-
var customBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?
+
var customBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?
@@ -233,7 +233,7 @@

Properties

-
var customViewBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?

Returns a nullable map of RenderUnit.DelegateBinder that is aimed to be used to set the optional mount binders right after creating a MountSpecLithoRenderUnit.

+
var customViewBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?

Returns a nullable map of RenderUnit.DelegateBinder that is aimed to be used to set the optional mount binders right after creating a MountSpecLithoRenderUnit.

@@ -1077,7 +1077,7 @@

Functions

-
fun addCustomBinders(binders: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)
+
fun addCustomBinders(binders: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)
@@ -1122,7 +1122,7 @@

Functions

-
fun addViewCustomBinders(viewBindersMap: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)

The goal of this method is to add the optional mount binders to the associated to this LithoNode. If we are dealing with a Primitive, we will get the corresponding LithoNode and associate the binders map as optional mount binders. For this reason, this method should be called as soon as their RenderUnit is created. In Litho, this happens in the Resolve phase, specifically when the mount content preparation is invoked.

+
fun addViewCustomBinders(viewBindersMap: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)

The goal of this method is to add the optional mount binders to the associated to this LithoNode. If we are dealing with a Primitive, we will get the corresponding LithoNode and associate the binders map as optional mount binders. For this reason, this method should be called as soon as their RenderUnit is created. In Litho, this happens in the Resolve phase, specifically when the mount content preparation is invoked.

diff --git a/reference/litho-core/com.facebook.litho/-no-op-event-handler/index.html b/reference/litho-core/com.facebook.litho/-no-op-event-handler/index.html index f34663a5fcb..9c6ed1b3d51 100644 --- a/reference/litho-core/com.facebook.litho/-no-op-event-handler/index.html +++ b/reference/litho-core/com.facebook.litho/-no-op-event-handler/index.html @@ -181,7 +181,7 @@

Functions

-
open override fun call(vararg arguments: Any?): Void?
+
open override fun call(vararg arguments: Any?): Void?
diff --git a/reference/litho-core/com.facebook.litho/-null-node/index.html b/reference/litho-core/com.facebook.litho/-null-node/index.html index ffc16080735..4c2b6f8c073 100644 --- a/reference/litho-core/com.facebook.litho/-null-node/index.html +++ b/reference/litho-core/com.facebook.litho/-null-node/index.html @@ -203,7 +203,7 @@

Properties

-
var customBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?
+
var customBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?
@@ -218,7 +218,7 @@

Properties

-
var customViewBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?

Returns a nullable map of RenderUnit.DelegateBinder that is aimed to be used to set the optional mount binders right after creating a MountSpecLithoRenderUnit.

+
var customViewBindersForMountSpec: MutableMap<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>?

Returns a nullable map of RenderUnit.DelegateBinder that is aimed to be used to set the optional mount binders right after creating a MountSpecLithoRenderUnit.

@@ -987,7 +987,7 @@

Functions

-
fun addCustomBinders(binders: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)
+
fun addCustomBinders(binders: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)
@@ -1032,7 +1032,7 @@

Functions

-
fun addViewCustomBinders(viewBindersMap: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)

The goal of this method is to add the optional mount binders to the associated to this LithoNode. If we are dealing with a Primitive, we will get the corresponding LithoNode and associate the binders map as optional mount binders. For this reason, this method should be called as soon as their RenderUnit is created. In Litho, this happens in the Resolve phase, specifically when the mount content preparation is invoked.

+
fun addViewCustomBinders(viewBindersMap: Map<Class<*>, RenderUnit.DelegateBinder<Any, Any, Any>>? = null)

The goal of this method is to add the optional mount binders to the associated to this LithoNode. If we are dealing with a Primitive, we will get the corresponding LithoNode and associate the binders map as optional mount binders. For this reason, this method should be called as soon as their RenderUnit is created. In Litho, this happens in the Resolve phase, specifically when the mount content preparation is invoked.

diff --git a/reference/litho-core/com.facebook.litho/-on-initialize-accessibility-event-event/index.html b/reference/litho-core/com.facebook.litho/-on-initialize-accessibility-event-event/index.html index 0bf47e198f8..543f8096f69 100644 --- a/reference/litho-core/com.facebook.litho/-on-initialize-accessibility-event-event/index.html +++ b/reference/litho-core/com.facebook.litho/-on-initialize-accessibility-event-event/index.html @@ -62,7 +62,7 @@

OnInitializeAccessibilityEventEvent

-

Components should implement an event of this type in order to receive callbacks to onInitializeAccessibilityEvent

+

Components should implement an event of this type in order to receive callbacks to onInitializeAccessibilityEvent

diff --git a/reference/litho-core/com.facebook.litho/-on-initialize-accessibility-node-info-event/index.html b/reference/litho-core/com.facebook.litho/-on-initialize-accessibility-node-info-event/index.html index b16e9afd04d..29a470ac1a5 100644 --- a/reference/litho-core/com.facebook.litho/-on-initialize-accessibility-node-info-event/index.html +++ b/reference/litho-core/com.facebook.litho/-on-initialize-accessibility-node-info-event/index.html @@ -62,7 +62,7 @@

OnInitializeAccessibilityNodeInfoEvent

-

Components should implement an event of this type in order to receive callbacks to onInitializeAccessibilityNodeInfo

+

Components should implement an event of this type in order to receive callbacks to onInitializeAccessibilityNodeInfo

diff --git a/reference/litho-core/com.facebook.litho/-on-populate-accessibility-event-event/index.html b/reference/litho-core/com.facebook.litho/-on-populate-accessibility-event-event/index.html index 5c854a44fc3..6c6276a0d4f 100644 --- a/reference/litho-core/com.facebook.litho/-on-populate-accessibility-event-event/index.html +++ b/reference/litho-core/com.facebook.litho/-on-populate-accessibility-event-event/index.html @@ -62,7 +62,7 @@

OnPopulateAccessibilityEventEvent

-

Components should implement an event of this type in order to receive callbacks to onPopulateAccessibilityEvent

+

Components should implement an event of this type in order to receive callbacks to onPopulateAccessibilityEvent

diff --git a/reference/litho-core/com.facebook.litho/-on-request-send-accessibility-event-event/index.html b/reference/litho-core/com.facebook.litho/-on-request-send-accessibility-event-event/index.html index 9fbdd3b038d..cefc6b495b9 100644 --- a/reference/litho-core/com.facebook.litho/-on-request-send-accessibility-event-event/index.html +++ b/reference/litho-core/com.facebook.litho/-on-request-send-accessibility-event-event/index.html @@ -62,7 +62,7 @@

OnRequestSendAccessibilityEventEvent

-

Components should implement an event of this type in order to receive callbacks to onRequestSendAccessibilityEvent

+

Components should implement an event of this type in order to receive callbacks to onRequestSendAccessibilityEvent

diff --git a/reference/litho-core/com.facebook.litho/-perform-accessibility-action-event/index.html b/reference/litho-core/com.facebook.litho/-perform-accessibility-action-event/index.html index d6c1bdffb9b..8a286fcd325 100644 --- a/reference/litho-core/com.facebook.litho/-perform-accessibility-action-event/index.html +++ b/reference/litho-core/com.facebook.litho/-perform-accessibility-action-event/index.html @@ -62,7 +62,7 @@

PerformAccessibilityActionEvent

-

Components should implement an event of this type in order to receive callbacks to performAccessibilityAction

+

Components should implement an event of this type in order to receive callbacks to performAccessibilityAction

diff --git a/reference/litho-core/com.facebook.litho/-primitive-component-scope/index.html b/reference/litho-core/com.facebook.litho/-primitive-component-scope/index.html index c406820a63c..4874bd422cd 100644 --- a/reference/litho-core/com.facebook.litho/-primitive-component-scope/index.html +++ b/reference/litho-core/com.facebook.litho/-primitive-component-scope/index.html @@ -383,7 +383,7 @@

Functions

-
fun ComponentScope.useErrorBoundary(onError: (exception: Exception) -> Unit)

Registers a callback to perform error handling for exceptions that might happen in child components down in the tree.

+
fun ComponentScope.useErrorBoundary(onError: (exception: Exception) -> Unit)

Registers a callback to perform error handling for exceptions that might happen in child components down in the tree.

diff --git a/reference/litho-core/com.facebook.litho/-primitive-component/get-mount-type.html b/reference/litho-core/com.facebook.litho/-primitive-component/get-mount-type.html index 488117e6390..9d44c046034 100644 --- a/reference/litho-core/com.facebook.litho/-primitive-component/get-mount-type.html +++ b/reference/litho-core/com.facebook.litho/-primitive-component/get-mount-type.html @@ -63,7 +63,7 @@

getMountType

-

This indicates the type of the Object that will be returned by mount.

Return

one of com.facebook.litho.Component.MountType

+

This indicates the type of the Object that will be returned by mount.

Return

one of com.facebook.litho.Component.MountType

-

This indicates the type of the Object that will be returned by mount.

+

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho/-primitive-component/is-equivalent-to.html b/reference/litho-core/com.facebook.litho/-primitive-component/is-equivalent-to.html index 05418f241bd..613817f5ecd 100644 --- a/reference/litho-core/com.facebook.litho/-primitive-component/is-equivalent-to.html +++ b/reference/litho-core/com.facebook.litho/-primitive-component/is-equivalent-to.html @@ -63,7 +63,7 @@

isEquivalentTo

-
override fun isEquivalentTo(other: Component?): Boolean

Compares this component to a different one to check if they are the same

This is used to be able to skip rendering a component again. We avoid using the equals so we can optimize the code better over time since we don't have to adhere to the contract required for a equals method.

Return

true if the components are of the same type and have the same props

Parameters

other

the component to compare to

+
override fun isEquivalentTo(other: Component?): Boolean

Compares this component to a different one to check if they are the same

This is used to be able to skip rendering a component again. We avoid using the equals so we can optimize the code better over time since we don't have to adhere to the contract required for a equals method.

Return

true if the components are of the same type and have the same props

Parameters

other

the component to compare to

-
open override fun <T : RenderUnit.Binder<*, *, *>?> findAttachBinderByClass(klass: Class<T>): T?
+
open override fun <T : RenderUnit.Binder<*, *, *>?> findAttachBinderByClass(klass: Class<T>): T?
diff --git a/reference/litho-core/com.facebook.litho/-re-thrown-exception/index.html b/reference/litho-core/com.facebook.litho/-re-thrown-exception/index.html index 7aa6edcb004..1e68b019969 100644 --- a/reference/litho-core/com.facebook.litho/-re-thrown-exception/index.html +++ b/reference/litho-core/com.facebook.litho/-re-thrown-exception/index.html @@ -62,7 +62,7 @@
@@ -124,7 +124,7 @@

Properties

@@ -188,7 +188,7 @@

Functions

@@ -233,7 +233,7 @@

Functions

@@ -248,7 +248,7 @@

Functions

diff --git a/reference/litho-core/com.facebook.litho/-re-thrown-exception/original.html b/reference/litho-core/com.facebook.litho/-re-thrown-exception/original.html index a1d8bf2a643..5acaccb483a 100644 --- a/reference/litho-core/com.facebook.litho/-re-thrown-exception/original.html +++ b/reference/litho-core/com.facebook.litho/-re-thrown-exception/original.html @@ -63,7 +63,7 @@

original

- +
-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

diff --git a/reference/litho-core/com.facebook.litho/-render-complete-event/-render-state/value-of.html b/reference/litho-core/com.facebook.litho/-render-complete-event/-render-state/value-of.html index 5f02535237f..01613bbf234 100644 --- a/reference/litho-core/com.facebook.litho/-render-complete-event/-render-state/value-of.html +++ b/reference/litho-core/com.facebook.litho/-render-complete-event/-render-state/value-of.html @@ -63,7 +63,7 @@

valueOf

-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Return

the enum constant with the specified name

Throws

if this enum type has no constant with the specified name

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Return

the enum constant with the specified name

Throws

if this enum type has no constant with the specified name

-

Ports setAccessibilityHeading into components world. However, since the aforementioned ViewCompat's method is available only on API 19 and above, calling this method on lower APIs will have no effect. On the legit versions, on the other hand, calling this method will lead to the component being treated as a heading. The AccessibilityHeading property allows accessibility services to help users navigate directly from one heading to the next. See setHeading for more information.

+

Ports setAccessibilityHeading into components world. However, since the aforementioned ViewCompat's method is available only on API 19 and above, calling this method on lower APIs will have no effect. On the legit versions, on the other hand, calling this method will lead to the component being treated as a heading. The AccessibilityHeading property allows accessibility services to help users navigate directly from one heading to the next. See setHeading for more information.

diff --git a/reference/litho-core/com.facebook.litho/-row/index.html b/reference/litho-core/com.facebook.litho/-row/index.html index f66f756cf5b..dbb7ac3c201 100644 --- a/reference/litho-core/com.facebook.litho/-row/index.html +++ b/reference/litho-core/com.facebook.litho/-row/index.html @@ -376,7 +376,7 @@

Functions

-

This indicates the type of the Object that will be returned by mount.

+

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho/-send-accessibility-event-event/index.html b/reference/litho-core/com.facebook.litho/-send-accessibility-event-event/index.html index d4bfcc5cfcb..3ee2d3cfd8e 100644 --- a/reference/litho-core/com.facebook.litho/-send-accessibility-event-event/index.html +++ b/reference/litho-core/com.facebook.litho/-send-accessibility-event-event/index.html @@ -62,7 +62,7 @@

SendAccessibilityEventEvent

-

Components should implement an event of this type in order to receive callbacks to sendAccessibilityEvent

+

Components should implement an event of this type in order to receive callbacks to sendAccessibilityEvent

diff --git a/reference/litho-core/com.facebook.litho/-send-accessibility-event-unchecked-event/index.html b/reference/litho-core/com.facebook.litho/-send-accessibility-event-unchecked-event/index.html index 232827b5041..14a57794d4d 100644 --- a/reference/litho-core/com.facebook.litho/-send-accessibility-event-unchecked-event/index.html +++ b/reference/litho-core/com.facebook.litho/-send-accessibility-event-unchecked-event/index.html @@ -62,7 +62,7 @@

SendAccessibilityEventUncheckedEvent

-

Components should implement an event of this type in order to receive callbacks to sendAccessibilityEventUnchecked

+

Components should implement an event of this type in order to receive callbacks to sendAccessibilityEventUnchecked

diff --git a/reference/litho-core/com.facebook.litho/-spec-generated-component/get-simple-name.html b/reference/litho-core/com.facebook.litho/-spec-generated-component/get-simple-name.html index 087d4da1567..1d6397d148b 100644 --- a/reference/litho-core/com.facebook.litho/-spec-generated-component/get-simple-name.html +++ b/reference/litho-core/com.facebook.litho/-spec-generated-component/get-simple-name.html @@ -63,7 +63,7 @@

getSimpleName

-

Should only be used by logging to provide more readable messages.

+

Should only be used by logging to provide more readable messages.

@@ -312,7 +312,7 @@

Functions

- +
@@ -357,7 +357,7 @@

Functions

-
This indicates the type of the Object that will be returned by mount.
+
This indicates the type of the Object that will be returned by mount.
@@ -432,7 +432,7 @@

Functions

-
Should only be used by logging to provide more readable messages.
+
Should only be used by logging to provide more readable messages.
@@ -447,7 +447,7 @@

Functions

-
open fun <T> getTreePropFromParent(parentTreePropContainer: TreePropContainer, key: Class<T>): T
+
open fun <T> getTreePropFromParent(parentTreePropContainer: TreePropContainer, key: Class<T>): T
@@ -672,7 +672,7 @@

Functions

@@ -702,7 +702,7 @@

Functions

- +
diff --git a/reference/litho-core/com.facebook.litho/-spec-generated-component/is-equivalent-to.html b/reference/litho-core/com.facebook.litho/-spec-generated-component/is-equivalent-to.html index 6d3876709c4..5330248da13 100644 --- a/reference/litho-core/com.facebook.litho/-spec-generated-component/is-equivalent-to.html +++ b/reference/litho-core/com.facebook.litho/-spec-generated-component/is-equivalent-to.html @@ -63,7 +63,7 @@

isEquivalentTo

-

Compares this component to a different one to check if they are the same

This is used to be able to skip rendering a component again. We avoid using the equals so we can optimize the code better over time since we don't have to adhere to the contract required for a equals method.

Return

true if the components are of the same type and have the same props

Parameters

other

the component to compare to


fun isEquivalentTo(@Nullable other: Component, shouldCompareCommonProps: Boolean): Boolean
+

Compares this component to a different one to check if they are the same

This is used to be able to skip rendering a component again. We avoid using the equals so we can optimize the code better over time since we don't have to adhere to the contract required for a equals method.

Return

true if the components are of the same type and have the same props

Parameters

other

the component to compare to


fun isEquivalentTo(@Nullable other: Component, shouldCompareCommonProps: Boolean): Boolean
-

This indicates the type of the Object that will be returned by mount.

+

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho/-thread-tracing-runnable/index.html b/reference/litho-core/com.facebook.litho/-thread-tracing-runnable/index.html index 90872c569d5..c30902a1f99 100644 --- a/reference/litho-core/com.facebook.litho/-thread-tracing-runnable/index.html +++ b/reference/litho-core/com.facebook.litho/-thread-tracing-runnable/index.html @@ -62,7 +62,7 @@

ThreadTracingRunnable

-

ThreadTracingRunnable tries to help debugging crashes happening across threads showing the stacktrace of the crash origin which scheduled this runnable.

A stacktrace, together with the origin thread name, is going to be "saved" at the time this class is instantiated and appended as "cause" to whatever is thrown from the run() method.

To use this class, just extends it instead of implementing Runnable. Then just implement tracedRun().

If the runnable is created ahead of time and used somewhere else later, a new, more relevant, stacktrace can be created calling resetTrace().

+

ThreadTracingRunnable tries to help debugging crashes happening across threads showing the stacktrace of the crash origin which scheduled this runnable.

A stacktrace, together with the origin thread name, is going to be "saved" at the time this class is instantiated and appended as "cause" to whatever is thrown from the run() method.

To use this class, just extends it instead of implementing Runnable. Then just implement tracedRun().

If the runnable is created ahead of time and used somewhere else later, a new, more relevant, stacktrace can be created calling resetTrace().

diff --git a/reference/litho-core/com.facebook.litho/-tree-future/index.html b/reference/litho-core/com.facebook.litho/-tree-future/index.html index 5f94566ca77..f3c9bc4fc67 100644 --- a/reference/litho-core/com.facebook.litho/-tree-future/index.html +++ b/reference/litho-core/com.facebook.litho/-tree-future/index.html @@ -62,7 +62,7 @@

TreeFuture

-
abstract class TreeFuture<T : PotentiallyPartialResult>(treeId: Int, isInterruptionEnabled: Boolean)

Base class that wraps a FutureTask to allow calculating the same result across threads.

Inheritors

+
abstract class TreeFuture<T : PotentiallyPartialResult>(treeId: Int, isInterruptionEnabled: Boolean)

Base class that wraps a FutureTask to allow calculating the same result across threads.

Inheritors

diff --git a/reference/litho-core/com.facebook.litho/-tree-prop-container/get.html b/reference/litho-core/com.facebook.litho/-tree-prop-container/get.html index 654c305e65d..04e7255be62 100644 --- a/reference/litho-core/com.facebook.litho/-tree-prop-container/get.html +++ b/reference/litho-core/com.facebook.litho/-tree-prop-container/get.html @@ -63,7 +63,7 @@

get

-
operator fun <T : Any> get(key: Class<T>): T?
operator fun <T> get(prop: TreeProp<T>): T
+
operator fun <T : Any> get(key: Class<T>): T?
operator fun <T> get(prop: TreeProp<T>): T
-
operator fun <T> get(prop: TreeProp<T>): T
operator fun <T : Any> get(key: Class<T>): T?
+
operator fun <T> get(prop: TreeProp<T>): T
operator fun <T : Any> get(key: Class<T>): T?
@@ -162,7 +162,7 @@

Functions

-
fun <T> put(treeProp: TreeProp<out T>, value: T)
fun put(key: Class<*>, value: Any?)
+
fun <T> put(treeProp: TreeProp<out T>, value: T)
fun put(key: Class<*>, value: Any?)
@@ -192,7 +192,7 @@

Functions

-
operator fun set(key: Class<*>, value: Any?)
+
operator fun set(key: Class<*>, value: Any?)
diff --git a/reference/litho-core/com.facebook.litho/-tree-prop-container/put.html b/reference/litho-core/com.facebook.litho/-tree-prop-container/put.html index d8b63c43530..001f9274f6c 100644 --- a/reference/litho-core/com.facebook.litho/-tree-prop-container/put.html +++ b/reference/litho-core/com.facebook.litho/-tree-prop-container/put.html @@ -63,7 +63,7 @@

put

-
fun put(key: Class<*>, value: Any?)
fun <T> put(treeProp: TreeProp<out T>, value: T)
+
fun put(key: Class<*>, value: Any?)
fun <T> put(treeProp: TreeProp<out T>, value: T)
-
open val type: Class<*>
+
open val type: Class<*>
diff --git a/reference/litho-core/com.facebook.litho/-view-compat-component/-builder/index.html b/reference/litho-core/com.facebook.litho/-view-compat-component/-builder/index.html index ccce4cfd167..9f77539c54d 100644 --- a/reference/litho-core/com.facebook.litho/-view-compat-component/-builder/index.html +++ b/reference/litho-core/com.facebook.litho/-view-compat-component/-builder/index.html @@ -98,7 +98,7 @@

Functions

-

Ports setAccessibilityHeading into components world. However, since the aforementioned ViewCompat's method is available only on API 19 and above, calling this method on lower APIs will have no effect. On the legit versions, on the other hand, calling this method will lead to the component being treated as a heading. The AccessibilityHeading property allows accessibility services to help users navigate directly from one heading to the next. See setHeading for more information.

+

Ports setAccessibilityHeading into components world. However, since the aforementioned ViewCompat's method is available only on API 19 and above, calling this method on lower APIs will have no effect. On the legit versions, on the other hand, calling this method will lead to the component being treated as a heading. The AccessibilityHeading property allows accessibility services to help users navigate directly from one heading to the next. See setHeading for more information.

diff --git a/reference/litho-core/com.facebook.litho/-view-compat-component/get-mount-type.html b/reference/litho-core/com.facebook.litho/-view-compat-component/get-mount-type.html index 4b82b1768b3..a7575c628f7 100644 --- a/reference/litho-core/com.facebook.litho/-view-compat-component/get-mount-type.html +++ b/reference/litho-core/com.facebook.litho/-view-compat-component/get-mount-type.html @@ -63,7 +63,7 @@

getMountType

-
open override fun getMountType(): Component.MountType

This indicates the type of the Object that will be returned by mount.

Return

one of com.facebook.litho.Component.MountType

+
open override fun getMountType(): Component.MountType

This indicates the type of the Object that will be returned by mount.

Return

one of com.facebook.litho.Component.MountType

-
open override fun getMountType(): Component.MountType

This indicates the type of the Object that will be returned by mount.

+
open override fun getMountType(): Component.MountType

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho/-wrapper/-builder/index.html b/reference/litho-core/com.facebook.litho/-wrapper/-builder/index.html index b80c49546cb..195b906b7e8 100644 --- a/reference/litho-core/com.facebook.litho/-wrapper/-builder/index.html +++ b/reference/litho-core/com.facebook.litho/-wrapper/-builder/index.html @@ -98,7 +98,7 @@

Functions

-

Ports setAccessibilityHeading into components world. However, since the aforementioned ViewCompat's method is available only on API 19 and above, calling this method on lower APIs will have no effect. On the legit versions, on the other hand, calling this method will lead to the component being treated as a heading. The AccessibilityHeading property allows accessibility services to help users navigate directly from one heading to the next. See setHeading for more information.

+

Ports setAccessibilityHeading into components world. However, since the aforementioned ViewCompat's method is available only on API 19 and above, calling this method on lower APIs will have no effect. On the legit versions, on the other hand, calling this method will lead to the component being treated as a heading. The AccessibilityHeading property allows accessibility services to help users navigate directly from one heading to the next. See setHeading for more information.

diff --git a/reference/litho-core/com.facebook.litho/-wrapper/index.html b/reference/litho-core/com.facebook.litho/-wrapper/index.html index 2baa24cf073..88201f85686 100644 --- a/reference/litho-core/com.facebook.litho/-wrapper/index.html +++ b/reference/litho-core/com.facebook.litho/-wrapper/index.html @@ -372,7 +372,7 @@

Functions

-

This indicates the type of the Object that will be returned by mount.

+

This indicates the type of the Object that will be returned by mount.

diff --git a/reference/litho-core/com.facebook.litho/index.html b/reference/litho-core/com.facebook.litho/index.html index 793f687bc59..b3da69ebb5e 100644 --- a/reference/litho-core/com.facebook.litho/index.html +++ b/reference/litho-core/com.facebook.litho/index.html @@ -348,7 +348,7 @@

Types

-
typealias ClassValuePair<T> = Pair<Class<T>, T>

Defines a single tree prop, i.e. a mapping from type to concrete instance of that type that is visible to the subtree, to be used with TreePropProvider.

+
typealias ClassValuePair<T> = Pair<Class<T>, T>

Defines a single tree prop, i.e. a mapping from type to concrete instance of that type that is visible to the subtree, to be used with TreePropProvider.

@@ -438,7 +438,7 @@

Types

-
abstract class Component : Cloneable, Equivalence<T> , AttributesAcceptor
Represents a unique instance of a component.
+
abstract class Component : Cloneable, Equivalence<T> , AttributesAcceptor
Represents a unique instance of a component.
@@ -768,7 +768,7 @@

Types

-

DebugHierarchy provides a light(er) weight way to track and access information about the component parentage of a given com.facebook.rendercore.MountItem. For a given com.facebook.rendercore.MountItem, it provides access to a linked list of Class objects representing the class of the Component and each of it's hierarchy parents.

+

DebugHierarchy provides a light(er) weight way to track and access information about the component parentage of a given com.facebook.rendercore.MountItem. For a given com.facebook.rendercore.MountItem, it provides access to a linked list of Class objects representing the class of the Component and each of it's hierarchy parents.

@@ -933,7 +933,7 @@

Types

-
interface DiffNode : Cloneable

A lightweight representation of a layout node, used to cache measurements between two Layout tree calculations.

+
interface DiffNode : Cloneable

A lightweight representation of a layout node, used to cache measurements between two Layout tree calculations.

@@ -1098,7 +1098,7 @@

Types

-
class EndToEndTestingExtension(mountDelegateTarget: MountDelegateTarget) : MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput, Void?>
+
class EndToEndTestingExtension(mountDelegateTarget: MountDelegateTarget) : MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput, Void?>
@@ -1278,7 +1278,7 @@

Types

-
class ExecutorLithoHandler(executor: Executor) : RunnableHandler

A LithoHandler implementation that runs all layout computations against the provided Executor. This LithoHandler can be used in apps that have a well established threading model and need to run layout against one of their already available executors.

+
class ExecutorLithoHandler(executor: Executor) : RunnableHandler

A LithoHandler implementation that runs all layout computations against the provided Executor. This LithoHandler can be used in apps that have a well established threading model and need to run layout against one of their already available executors.

@@ -1758,7 +1758,7 @@

Types

-

Exception class used to add additional Litho metadata to a crash.

+

Exception class used to add additional Litho metadata to a crash.

@@ -2223,7 +2223,7 @@

Types

-
class NestedLithoViewsExtension : MountExtension<Void?, Void?> , OnItemCallbacks<Void?>

MountExtension to ensure that content with nested LithoViews is properly clearing those LithoViews when the item is unmounted. Since this should only happen when unmounting an item and not when it's being updated, shouldUpdateItem is not overridden (defaulting to super implementation which returns false).

+
class NestedLithoViewsExtension : MountExtension<Void?, Void?> , OnItemCallbacks<Void?>

MountExtension to ensure that content with nested LithoViews is properly clearing those LithoViews when the item is unmounted. Since this should only happen when unmounting an item and not when it's being updated, shouldUpdateItem is not overridden (defaulting to super implementation which returns false).

@@ -2418,7 +2418,7 @@

Types

-
Components should implement an event of this type in order to receive callbacks to onInitializeAccessibilityEvent
+
Components should implement an event of this type in order to receive callbacks to onInitializeAccessibilityEvent
@@ -2433,7 +2433,7 @@

Types

-
Components should implement an event of this type in order to receive callbacks to onInitializeAccessibilityNodeInfo
+
Components should implement an event of this type in order to receive callbacks to onInitializeAccessibilityNodeInfo
@@ -2448,7 +2448,7 @@

Types

-
Components should implement an event of this type in order to receive callbacks to onPopulateAccessibilityEvent
+
Components should implement an event of this type in order to receive callbacks to onPopulateAccessibilityEvent
@@ -2478,7 +2478,7 @@

Types

-
Components should implement an event of this type in order to receive callbacks to onRequestSendAccessibilityEvent
+
Components should implement an event of this type in order to receive callbacks to onRequestSendAccessibilityEvent
@@ -2523,7 +2523,7 @@

Types

-
Components should implement an event of this type in order to receive callbacks to performAccessibilityAction
+
Components should implement an event of this type in order to receive callbacks to performAccessibilityAction
@@ -2808,7 +2808,7 @@

Types

@@ -2868,7 +2868,7 @@

Types

-
Components should implement an event of this type in order to receive callbacks to sendAccessibilityEvent
+
Components should implement an event of this type in order to receive callbacks to sendAccessibilityEvent
@@ -2883,7 +2883,7 @@

Types

-
Components should implement an event of this type in order to receive callbacks to sendAccessibilityEventUnchecked
+
Components should implement an event of this type in order to receive callbacks to sendAccessibilityEventUnchecked
@@ -3258,7 +3258,7 @@

Types

-

ThreadTracingRunnable tries to help debugging crashes happening across threads showing the stacktrace of the crash origin which scheduled this runnable.

+

ThreadTracingRunnable tries to help debugging crashes happening across threads showing the stacktrace of the crash origin which scheduled this runnable.

@@ -3348,7 +3348,7 @@

Types

-
abstract class TreeFuture<T : PotentiallyPartialResult>(treeId: Int, isInterruptionEnabled: Boolean)

Base class that wraps a FutureTask to allow calculating the same result across threads.

+
abstract class TreeFuture<T : PotentiallyPartialResult>(treeId: Int, isInterruptionEnabled: Boolean)

Base class that wraps a FutureTask to allow calculating the same result across threads.

@@ -3881,7 +3881,7 @@

Functions

-
inline fun <T : Any> legacyTreePropOf(): TreeProp<T?>
fun <T : Any> legacyTreePropOf(clazz: Class<T>): TreeProp<T?>
+
inline fun <T : Any> legacyTreePropOf(): TreeProp<T?>
fun <T : Any> legacyTreePropOf(clazz: Class<T>): TreeProp<T?>
@@ -3971,7 +3971,7 @@

Functions

-
fun preloadLithoClasses(additionalClasses: () -> Set<Class<*>>? = null)

Utility for preloading classes that should be loaded early but may not be accessible outside of Litho.

+
fun preloadLithoClasses(additionalClasses: () -> Set<Class<*>>? = null)

Utility for preloading classes that should be loaded early but may not be accessible outside of Litho.

@@ -4151,7 +4151,7 @@

Functions

-
fun ComponentScope.useErrorBoundary(onError: (exception: Exception) -> Unit)

Registers a callback to perform error handling for exceptions that might happen in child components down in the tree.

+
fun ComponentScope.useErrorBoundary(onError: (exception: Exception) -> Unit)

Registers a callback to perform error handling for exceptions that might happen in child components down in the tree.

diff --git a/reference/litho-core/com.facebook.litho/legacy-tree-prop-of.html b/reference/litho-core/com.facebook.litho/legacy-tree-prop-of.html index 7512332ee93..755f13c481c 100644 --- a/reference/litho-core/com.facebook.litho/legacy-tree-prop-of.html +++ b/reference/litho-core/com.facebook.litho/legacy-tree-prop-of.html @@ -63,7 +63,7 @@

legacyTreePropOf

-
fun <T : Any> legacyTreePropOf(clazz: Class<T>): TreeProp<T?>
inline fun <T : Any> legacyTreePropOf(): TreeProp<T?>
+
fun <T : Any> legacyTreePropOf(clazz: Class<T>): TreeProp<T?>
inline fun <T : Any> legacyTreePropOf(): TreeProp<T?>