Skip to content

Commit a646534

Browse files
dulmandakhcharpeni
authored andcommitted
Android added support for Image.defaultSource (facebook#420)
1 parent 0236c70 commit a646534

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/image.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ A static image to display while loading the image source.
357357
| Type | Required | Platform |
358358
| -------------- | -------- | -------- |
359359
| object, number | No | iOS |
360+
| -------------- | -------- | -------- |
361+
| number | No | Android |
360362

361363
If passing an object, the general shape is `{uri: string, width: number, height: number, scale: number}`:
362364

@@ -368,6 +370,8 @@ If passing a number:
368370

369371
* `number` - Opaque type returned by something like `require('./image.jpg')`.
370372

373+
**Android**: It works only on release builds, don't worry if it shows nothing on DEBUG builds
374+
371375
---
372376

373377
### `onPartialLoad`

0 commit comments

Comments
 (0)