diff --git a/releases/next/docs/flatlist.html b/releases/next/docs/flatlist.html
index f27e731f36a..fe1d81639af 100644
--- a/releases/next/docs/flatlist.html
+++ b/releases/next/docs/flatlist.html
@@ -279,7 +279,7 @@ class FlatListExample extends this._listRef.getNode().recordInteraction();
pressItem(this, key);
};
- _listRef: FlatList<*>;
+ _listRef: AnimatedFlatList;
}
diff --git a/releases/next/docs/image.html b/releases/next/docs/image.html
index 3cc3e9d0107..fae90574c2e 100644
--- a/releases/next/docs/image.html
+++ b/releases/next/docs/image.html
@@ -103,14 +103,14 @@ should be either a local file path or the name of a static image resource
these will be used to set the default <Image/> component dimensions.
scale - used to indicate the scale factor of the image. Defaults to 1.0 if
unspecified, meaning that one image pixel equates to one display point / DIP.number - Opaque type returned by something like require('./image.jpg').Invoked when a partial load of the image is complete. The definition of what constitutes a "partial load" is loader specific though this is meant -for progressive JPEG loads.
Invoked on download progress with {nativeEvent: {loaded, total}}.
Retrieve the width and height (in pixels) of an image prior to displaying it. +for progressive JPEG loads.
Invoked on download progress with {nativeEvent: {loaded, total}}.
Retrieve the width and height (in pixels) of an image prior to displaying it. This method can fail if the image cannot be found, or fails to download.
In order to retrieve the image dimensions, the image may first need to be loaded or downloaded, after which it will be cached. This means that in principle you could use this method to preload images, however it is not optimized for that purpose, and may in future be implemented in a way that does not fully load/download the image data. A proper, supported way to preload images will be provided as a separate API.
Does not work for static image resources.
| Name and Type | Description |
|---|---|
| uri string | The location of the image. |
| success function | The function that will be called if the image was successfully found and width -and height retrieved. |
| failure function | The function that will be called if there was an error, such as failing to +and height retrieved. |
| [failure] function | The function that will be called if there was an error, such as failing to to retrieve the image. |
Prefetches a remote image for later use by downloading it to the disk cache
| Name and Type | Description |
|---|---|
| url string | The remote location of the image. |
You can edit the content above on GitHub and send us a pull request!
Examples # | Edit on GitHub |