File: Android\Renderers\IImageViewHandler.cs
Web Access
Project: src\src\Compatibility\Core\src\Compatibility.csproj (Microsoft.Maui.Controls.Compatibility)
using System.Threading;
using System.Threading.Tasks;
using Android.Widget;
 
namespace Microsoft.Maui.Controls.Compatibility.Platform.Android
{
	/// <summary>
	/// The successor to IImageSourceHandler, the goal being we can achieve better performance by never creating an Android.Graphics.Bitmap instance
	/// </summary>
	public interface IImageViewHandler : IRegisterable
	{
		Task LoadImageAsync(ImageSource imagesource, ImageView imageView, CancellationToken cancellationToken = default(CancellationToken));
	}
}