[android-components](../../index.md) / [mozilla.components.browser.icons.utils](../index.md) / [IconDiskCache](index.md) / [getResources](./get-resources.md)

# getResources

`fun getResources(context: <ERROR CLASS>, request: `[`IconRequest`](../../mozilla.components.browser.icons/-icon-request/index.md)`): `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`Resource`](../../mozilla.components.browser.icons/-icon-request/-resource/index.md)`>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/icons/src/main/java/mozilla/components/browser/icons/utils/IconDiskCache.kt#L44)

Overrides [PreparerDiskCache.getResources](../../mozilla.components.browser.icons.preparer/-disk-icon-preparer/-preparer-disk-cache/get-resources.md)

