From c33211f4e6e8fa6a3a207aa8787f29d108c2c55f Mon Sep 17 00:00:00 2001 From: JakeWharton Date: Wed, 15 Nov 2023 20:06:35 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20site=20from=20=20@=202ade87103?= =?UTF-8?q?3838229a501de860ac1467e3662d999=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../-treehouse-content.html | 2 +- .../index.html | 2 +- .../-event-listener/index.html | 72 +++++++++--------- .../-event-listener/on-unknown-property.html | 76 ------------------- ...known-event.html => unknown-children.html} | 10 +-- .../-event-listener/unknown-event-node.html | 76 +++++++++++++++++++ ...known-children.html => unknown-event.html} | 10 +-- ...wn-modifier.html => unknown-modifier.html} | 10 +-- ...-event-node.html => unknown-property.html} | 10 +-- ...nknown-widget.html => unknown-widget.html} | 10 +-- .../index.html | 2 +- .../is-enabled.html | 2 +- .../-host/add-on-back-pressed-callback.html | 2 +- .../-zipline-treehouse-ui/-host/index.html | 2 +- latest/docs/scripts/pages.json | 2 +- 15 files changed, 144 insertions(+), 144 deletions(-) delete mode 100644 latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-property.html rename latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/{on-unknown-event.html => unknown-children.html} (78%) create mode 100644 latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/unknown-event-node.html rename latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/{on-unknown-children.html => unknown-event.html} (78%) rename latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/{on-unknown-modifier.html => unknown-modifier.html} (83%) rename latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/{on-unknown-event-node.html => unknown-property.html} (78%) rename latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/{on-unknown-widget.html => unknown-widget.html} (83%) diff --git a/latest/docs/redwood-treehouse-host-composeui/app.cash.redwood.treehouse.composeui/-treehouse-content.html b/latest/docs/redwood-treehouse-host-composeui/app.cash.redwood.treehouse.composeui/-treehouse-content.html index fc746f5e04..aaded6d976 100644 --- a/latest/docs/redwood-treehouse-host-composeui/app.cash.redwood.treehouse.composeui/-treehouse-content.html +++ b/latest/docs/redwood-treehouse-host-composeui/app.cash.redwood.treehouse.composeui/-treehouse-content.html @@ -63,7 +63,7 @@

TreehouseContent

-
fun <A : AppService> TreehouseContent(treehouseApp: TreehouseApp<A>, widgetSystem: TreehouseView.WidgetSystem<@Composable () -> Unit>, codeListener: CodeListener = CodeListener(), contentSource: TreehouseContentSource<A>, modifier: Modifier = Modifier)
+
fun <A : AppService> TreehouseContent(treehouseApp: TreehouseApp<A>, widgetSystem: TreehouseView.WidgetSystem<@Composable () -> Unit>, codeListener: CodeListener = remember { CodeListener() }, contentSource: TreehouseContentSource<A>, modifier: Modifier = Modifier)
-
fun <A : AppService> TreehouseContent(treehouseApp: TreehouseApp<A>, widgetSystem: TreehouseView.WidgetSystem<@Composable () -> Unit>, codeListener: CodeListener = CodeListener(), contentSource: TreehouseContentSource<A>, modifier: Modifier = Modifier)
+
fun <A : AppService> TreehouseContent(treehouseApp: TreehouseApp<A>, widgetSystem: TreehouseView.WidgetSystem<@Composable () -> Unit>, codeListener: CodeListener = remember { CodeListener() }, contentSource: TreehouseContentSource<A>, modifier: Modifier = Modifier)
diff --git a/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/index.html b/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/index.html index 60ff2b83b5..d71540b993 100644 --- a/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/index.html +++ b/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/index.html @@ -407,137 +407,137 @@

Functions

- +
- - + +
Link copied to clipboard
-
open fun onUnknownChildren(widgetTag: WidgetTag, tag: ChildrenTag)

Invoked on a request to manipulate unknown children tag for the specified widget kind.

+
open fun serviceLeaked(name: String)

Invoked when a service is garbage collected without being closed.

- +
- - + +
Link copied to clipboard
-
open fun onUnknownEvent(widgetTag: WidgetTag, tag: EventTag)

Invoked on a request to process an unknown event tag for the specified widget widgetTag.

+
open fun takeService(name: String, service: ZiplineService)

Invoked when something calls Zipline.take, or a service is received via an API.

- +
- - + +
Link copied to clipboard
-
open fun onUnknownEventNode(id: Id, tag: EventTag)

Invoked for an event whose node id is unknown.

+
open fun uncaughtException(exception: Throwable)

Invoked when app has thrown an uncaught exception.

- +
- - + +
Link copied to clipboard
-

Invoked on a request to create an unknown modifier tag.

+
open fun unknownChildren(widgetTag: WidgetTag, tag: ChildrenTag)

Invoked on a request to manipulate unknown children with tag for a widget with widgetTag. This is a schema mismatch and the child nodes are ignored.

- +
- - + +
Link copied to clipboard
-
open fun onUnknownProperty(widgetTag: WidgetTag, tag: PropertyTag)

Invoked on a request to set an unknown property tag for the specified widget kind.

+
open fun unknownEvent(widgetTag: WidgetTag, tag: EventTag)

Invoked on a request to process an unknown event with tag for a widget with widgetTag. This is a schema mismatch and the event is dropped.

- +
- - + +
Link copied to clipboard
-
open fun onUnknownWidget(tag: WidgetTag)

Invoked on a request to create an unknown widget kind.

+
open fun unknownEventNode(id: Id, tag: EventTag)

Invoked when an event is received on a widget that no longer exists.

- +
- - + +
Link copied to clipboard
-
open fun serviceLeaked(name: String)

Invoked when a service is garbage collected without being closed.

+

Invoked on a request to create an unknown modifier with tag. This is a schema mismatch and the modifier is ignored.

- +
- - + +
Link copied to clipboard
-
open fun takeService(name: String, service: ZiplineService)

Invoked when something calls Zipline.take, or a service is received via an API.

+
open fun unknownProperty(widgetTag: WidgetTag, tag: PropertyTag)

Invoked on a request to set an unknown property with tag for a widget with widgetTag. This is a schema mismatch and the property is ignored.

- +
- - + +
Link copied to clipboard
-
open fun uncaughtException(exception: Throwable)

Invoked when app has thrown an uncaught exception.

+
open fun unknownWidget(tag: WidgetTag)

Invoked on a request to create an unknown widget with tag. This is a schema mismatch and the widget is ignored.

diff --git a/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-property.html b/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-property.html deleted file mode 100644 index 0c6351ac8e..0000000000 --- a/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-property.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - onUnknownProperty - - - - - - - - - - - - - - - - - -
- -
- -
-
- -
-

onUnknownProperty

-
-
open fun onUnknownProperty(widgetTag: WidgetTag, tag: PropertyTag)

Invoked on a request to set an unknown property tag for the specified widget kind.

-
- -
-
-
- - - diff --git a/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-event.html b/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/unknown-children.html similarity index 78% rename from latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-event.html rename to latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/unknown-children.html index 583d3d7894..9fc226c4b4 100644 --- a/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-event.html +++ b/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/unknown-children.html @@ -2,7 +2,7 @@ - onUnknownEvent + unknownChildren + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

unknownEventNode

+
+
open fun unknownEventNode(id: Id, tag: EventTag)

Invoked when an event is received on a widget that no longer exists.

This is a normal artifact of the asynchronous event processing used by Treehouse. For example, it will occur if a user is still scrolling a LazyColumn when it is removed from a layout. The scroll event is discarded and that's fine.

+
+ +
+
+
+ + + diff --git a/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-children.html b/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/unknown-event.html similarity index 78% rename from latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-children.html rename to latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/unknown-event.html index 0978203e3e..99bc31c90a 100644 --- a/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/on-unknown-children.html +++ b/latest/docs/redwood-treehouse-host/app.cash.redwood.treehouse/-event-listener/unknown-event.html @@ -2,7 +2,7 @@ - onUnknownChildren + unknownEvent