You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, provide the following version numbers that your issue occurs with:
nativescript-image 3.0.0
Please, tell us how to recreate the issue in as much detail as possible.
The failure image is not shown on Android device.
Uri's are set in a directive like this: this.image.placeholderImageUri = this.defaultsService.getDefaultImageFor(this.type); this.image.failureImageUri = this.defaultsService.getDefaultImageFor(this.type); this.image.src = this.src;
On failure, no image is shown.
The workaround I currently use is: this.image.on('failure', () => this.image.src = this.defaultsService.getDefaultImageFor(this.type));
But this should not be necessary.
The text was updated successfully, but these errors were encountered:
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
The failure image is not shown on Android device.
Uri's are set in a directive like this:
this.image.placeholderImageUri = this.defaultsService.getDefaultImageFor(this.type); this.image.failureImageUri = this.defaultsService.getDefaultImageFor(this.type); this.image.src = this.src;
On failure, no image is shown.
The workaround I currently use is:
this.image.on('failure', () => this.image.src = this.defaultsService.getDefaultImageFor(this.type));
But this should not be necessary.
The text was updated successfully, but these errors were encountered: