IImageLoader

Loads remote images for Image.
public interface IImageLoader

Methods

LoadAsync

Loads the image at url, returning null on failure.

Task<UIImage?> LoadAsync(
  string url,
  CancellationToken cancellationToken)
ParameterSummary
string urlThe image URL.
CancellationToken cancellationTokenThe token to observe while downloading.

Returns

  • Task<UIImage?>: The downloaded image, or null on failure.