From 47d0dcd0d70fff7fa1951d7bbaea752b535ff9a4 Mon Sep 17 00:00:00 2001 From: veyndan Date: Tue, 16 Jan 2024 17:13:08 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20site=20from=20=20@=20b71fa4418?= =?UTF-8?q?b252c003a0362067578bd580e1c7028=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../-lazy-list/index.html | 2 +- .../cross-axis-alignment.html | 2 +- .../-refreshable-lazy-list/height.html | 2 +- .../-refreshable-lazy-list/index.html | 28 +++++++++---------- .../-refreshable-lazy-list/is-vertical.html | 2 +- .../-refreshable-lazy-list/items-after.html | 2 +- .../-refreshable-lazy-list/items-before.html | 2 +- .../-refreshable-lazy-list/items.html | 2 +- .../-refreshable-lazy-list/margin.html | 2 +- .../-refreshable-lazy-list/on-refresh.html | 2 +- .../on-viewport-changed.html | 2 +- .../-refreshable-lazy-list/placeholder.html | 2 +- .../pull-refresh-content-color.html | 2 +- .../-refreshable-lazy-list/refreshing.html | 2 +- .../scroll-item-index.html | 2 +- .../-refreshable-lazy-list/width.html | 2 +- .../app.cash.redwood.lazylayout/index.html | 2 +- 17 files changed, 30 insertions(+), 30 deletions(-) diff --git a/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-lazy-list/index.html b/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-lazy-list/index.html index f282b71d29..b802763c9c 100644 --- a/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-lazy-list/index.html +++ b/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-lazy-list/index.html @@ -62,7 +62,7 @@

LazyList

-
data class LazyList(val isVertical: Boolean, val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, val itemsBefore: Int, val itemsAfter: Int, val width: Constraint, val height: Constraint, val margin: Margin, val crossAxisAlignment: CrossAxisAlignment, val scrollItemIndex: ScrollItemIndex, val placeholder: () -> Unit, val items: () -> Unit)
+
data class LazyList(val isVertical: Boolean, val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, val itemsBefore: Int, val itemsAfter: Int, val width: Constraint, val height: Constraint, val margin: Margin, val crossAxisAlignment: CrossAxisAlignment, val scrollItemIndex: ScrollItemIndex, val placeholder: () -> Unit, val items: () -> Unit)

The documentation for LazyList is a subset of the documentation for RefreshableLazyList. In order to avoid documentation duplication, see LazyList. The documentation should be unified once https://github.com/cashapp/redwood/issues/1084 is implemented and RefreshableLazyList has been deprecated and removed.

See also

diff --git a/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-refreshable-lazy-list/cross-axis-alignment.html b/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-refreshable-lazy-list/cross-axis-alignment.html index d5d8ef990c..b343b6a3df 100644 --- a/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-refreshable-lazy-list/cross-axis-alignment.html +++ b/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-refreshable-lazy-list/cross-axis-alignment.html @@ -63,7 +63,7 @@

crossAxisAlignment

- +

If isVertical, sets the default horizontal alignment for items in this list. Else, sets the default vertical alignment for items in this list.

- +

If isVertical, sets the default horizontal alignment for items in this list. Else, sets the default vertical alignment for items in this list.

@@ -113,7 +113,7 @@

Properties

- +

Sets whether the list's height will wrap its contents (Constraint.Wrap) or match the height of its parent (Constraint.Fill).

@@ -128,7 +128,7 @@

Properties

- +

Whether the list should be vertically oriented.

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

Properties

-
val items: () -> Unit
+
val items: () -> Unit

The window of items to be inflated by the native lazy list widget implementation. The window is defined as a sequential subset of the composables emitted in items. These composables are created by incrementally passing a range of indices to the user-defined item factories, as specified in the LazyListScope functions.

@@ -158,7 +158,7 @@

Properties

- +

The number of un-emitted items after the items window.

@@ -173,7 +173,7 @@

Properties

- +

The number of un-emitted items before the items window.

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

Properties

- +

Applies margin (space) around the list.

@@ -203,7 +203,7 @@

Properties

-
val onRefresh: () -> Unit?
+
val onRefresh: () -> Unit?

Called when a swipe gesture triggers a pull-to-refresh.

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

Properties

-
val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit
+
val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit

Invoked when the user has scrolled the list, such that the firstVisibleItemIndex or the lastVisibleItemIndex has changed. When the user performs a fling, onViewportChanged will be invoked multiple times.

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

Properties

-
val placeholder: () -> Unit
+
val placeholder: () -> Unit

A block which describes the content of each placeholder item.

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

Properties

- +

The color of the pull-to-refresh indicator as an ARGB color int.

@@ -263,7 +263,7 @@

Properties

- +

Whether or not the list should show the pull-to-refresh indicator.

@@ -278,7 +278,7 @@

Properties

- +

The last ScrollItemIndex programmatically requested by the user. The native lazy list widget implementation will scroll itself such that the item index will be at the start of the viewport.

@@ -293,7 +293,7 @@

Properties

- +

Sets whether the list's width will wrap its contents (Constraint.Wrap) or match the width of its parent (Constraint.Fill).

diff --git a/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-refreshable-lazy-list/is-vertical.html b/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-refreshable-lazy-list/is-vertical.html index 00391d2050..54c8a91852 100644 --- a/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-refreshable-lazy-list/is-vertical.html +++ b/latest/docs/redwood-lazylayout-schema/app.cash.redwood.lazylayout/-refreshable-lazy-list/is-vertical.html @@ -63,7 +63,7 @@

isVertical

-
+

Whether the list should be vertically oriented.

-
data class LazyList(val isVertical: Boolean, val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, val itemsBefore: Int, val itemsAfter: Int, val width: Constraint, val height: Constraint, val margin: Margin, val crossAxisAlignment: CrossAxisAlignment, val scrollItemIndex: ScrollItemIndex, val placeholder: () -> Unit, val items: () -> Unit)
+
data class LazyList(val isVertical: Boolean, val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, val itemsBefore: Int, val itemsAfter: Int, val width: Constraint, val height: Constraint, val margin: Margin, val crossAxisAlignment: CrossAxisAlignment, val scrollItemIndex: ScrollItemIndex, val placeholder: () -> Unit, val items: () -> Unit)

The documentation for LazyList is a subset of the documentation for RefreshableLazyList. In order to avoid documentation duplication, see LazyList. The documentation should be unified once https://github.com/cashapp/redwood/issues/1084 is implemented and RefreshableLazyList has been deprecated and removed.