[android-components](../../index.md) / [mozilla.components.browser.icons.utils](../index.md) / [IconMemoryCache](index.md) / [getBitmap](./get-bitmap.md)

# getBitmap

`fun getBitmap(request: `[`IconRequest`](../../mozilla.components.browser.icons/-icon-request/index.md)`, resource: `[`Resource`](../../mozilla.components.browser.icons/-icon-request/-resource/index.md)`): <ERROR CLASS>?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/icons/src/main/java/mozilla/components/browser/icons/utils/IconMemoryCache.kt#L33)

Overrides [LoaderMemoryCache.getBitmap](../../mozilla.components.browser.icons.loader/-memory-icon-loader/-loader-memory-cache/get-bitmap.md)

