diff --git a/docs/0.60/image.html b/docs/0.60/image.html index 52aa5117d84..56403686cff 100644 --- a/docs/0.60/image.html +++ b/docs/0.60/image.html @@ -155,17 +155,17 @@
You will need to add some optional modules in android/app/build.gradle, depending on the needs of your app.
dependencies {
// If your app supports Android versions before Ice Cream Sandwich (API level 14)
- implementation 'com.facebook.fresco:animated-base-support:1.10.0'
+ implementation 'com.facebook.fresco:animated-base-support:1.3.0'
// For animated GIF support
- implementation 'com.facebook.fresco:animated-gif:1.12.0'
+ implementation 'com.facebook.fresco:animated-gif:2.0.0'
// For WebP support, including animated WebP
- implementation 'com.facebook.fresco:animated-webp:1.10.0'
- implementation 'com.facebook.fresco:webpsupport:1.10.0'
+ implementation 'com.facebook.fresco:animated-webp:2.1.0'
+ implementation 'com.facebook.fresco:webpsupport:2.0.0'
// For WebP support, without animations
- implementation 'com.facebook.fresco:webpsupport:1.10.0'
+ implementation 'com.facebook.fresco:webpsupport:2.0.0'
}
resizeModeDetermines how to resize the image when the frame doesn't match the raw image dimensions.
+Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to cover.
cover: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).
contain: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).
You will need to add some optional modules in android/app/build.gradle, depending on the needs of your app.
dependencies {
// If your app supports Android versions before Ice Cream Sandwich (API level 14)
- implementation 'com.facebook.fresco:animated-base-support:1.10.0'
+ implementation 'com.facebook.fresco:animated-base-support:1.3.0'
// For animated GIF support
- implementation 'com.facebook.fresco:animated-gif:1.12.0'
+ implementation 'com.facebook.fresco:animated-gif:2.0.0'
// For WebP support, including animated WebP
- implementation 'com.facebook.fresco:animated-webp:1.10.0'
- implementation 'com.facebook.fresco:webpsupport:1.10.0'
+ implementation 'com.facebook.fresco:animated-webp:2.1.0'
+ implementation 'com.facebook.fresco:webpsupport:2.0.0'
// For WebP support, without animations
- implementation 'com.facebook.fresco:webpsupport:1.10.0'
+ implementation 'com.facebook.fresco:webpsupport:2.0.0'
}
resizeModeDetermines how to resize the image when the frame doesn't match the raw image dimensions.
+Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to cover.
cover: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).
contain: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).
You will need to add some optional modules in android/app/build.gradle, depending on the needs of your app.
dependencies {
// If your app supports Android versions before Ice Cream Sandwich (API level 14)
- implementation 'com.facebook.fresco:animated-base-support:1.10.0'
+ implementation 'com.facebook.fresco:animated-base-support:1.3.0'
// For animated GIF support
- implementation 'com.facebook.fresco:animated-gif:1.12.0'
+ implementation 'com.facebook.fresco:animated-gif:2.0.0'
// For WebP support, including animated WebP
- implementation 'com.facebook.fresco:animated-webp:1.10.0'
- implementation 'com.facebook.fresco:webpsupport:1.10.0'
+ implementation 'com.facebook.fresco:animated-webp:2.1.0'
+ implementation 'com.facebook.fresco:webpsupport:2.0.0'
// For WebP support, without animations
- implementation 'com.facebook.fresco:webpsupport:1.10.0'
+ implementation 'com.facebook.fresco:webpsupport:2.0.0'
}
resizeModeDetermines how to resize the image when the frame doesn't match the raw image dimensions.
+Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to cover.
cover: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).
contain: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).
You will need to add some optional modules in android/app/build.gradle, depending on the needs of your app.
dependencies {
// If your app supports Android versions before Ice Cream Sandwich (API level 14)
- implementation 'com.facebook.fresco:animated-base-support:1.10.0'
+ implementation 'com.facebook.fresco:animated-base-support:1.3.0'
// For animated GIF support
- implementation 'com.facebook.fresco:animated-gif:1.12.0'
+ implementation 'com.facebook.fresco:animated-gif:2.0.0'
// For WebP support, including animated WebP
- implementation 'com.facebook.fresco:animated-webp:1.10.0'
- implementation 'com.facebook.fresco:webpsupport:1.10.0'
+ implementation 'com.facebook.fresco:animated-webp:2.1.0'
+ implementation 'com.facebook.fresco:webpsupport:2.0.0'
// For WebP support, without animations
- implementation 'com.facebook.fresco:webpsupport:1.10.0'
+ implementation 'com.facebook.fresco:webpsupport:2.0.0'
}
resizeModeDetermines how to resize the image when the frame doesn't match the raw image dimensions.
+Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to cover.
cover: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).
contain: Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).