AIImageLoader
Loads images from the web at the size they show at, and keeps the latest ones in memory, so what scrolls back into view shows its images at once.
The agent writes every link, so an image downloads only from a public host: every address the host resolves to must be public, so not the device itself or the local network, and each redirect, up to ImageDownloader.MaxRedirects, is checked the same way.
Each image downloads up to a number of bytes, and decodes upright, as its EXIF orientation says, to no more than MaxDecodedPixels. Callers that ask for an image while it loads wait for the same load, which stops once none of them waits any more, such as when the UI that asked for it leaves the screen.
Properties
Functions
Whether url is one this loader downloads: a web link. The agent writes every link, so nothing on the device is read for it.