Display images with FFImageLoading.Maui
mainThe library provides two primary controls for displaying images with caching and optimization:
CachedImage: The standard control for displaying images from various sources (URL, local path, or resource).CachedImageView: A specialized version ofCachedImagethat supports border properties likeStrokeandStrokeThickness.
Both controls support features like error/loading placeholders, automatic downsampling, and fade-in animations.
<ffimageloading:CachedImage Source="xxx.jpg"></ffimageloading:CachedImage>
<ffimageloading:CachedImageView Source="xxx.jpg" Stroke="Red" StrokeThickness="1"></ffimageloading:CachedImageView>