android-components / mozilla.components.browser.icons.loader / HttpIconLoader

HttpIconLoader

class HttpIconLoader : IconLoader (source)

IconLoader implementation that will try to download the icon for resources that point to an http(s) URL.

Constructors

Name Summary
<init> HttpIconLoader(httpClient: Client)
IconLoader implementation that will try to download the icon for resources that point to an http(s) URL.

Functions

Name Summary
load fun load(context: <ERROR CLASS>, request: IconRequest, resource: Resource): Result
Tries to load the IconRequest.Resource for the given IconRequest.