[android-components](../../index.md) / [mozilla.components.browser.icons.generator](../index.md) / [DefaultIconGenerator](index.md) / [generate](./generate.md)

# generate

`fun generate(context: `[`Context`](https://developer.android.com/reference/android/content/Context.html)`, request: `[`IconRequest`](../../mozilla.components.browser.icons/-icon-request/index.md)`): `[`Icon`](../../mozilla.components.browser.icons/-icon/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/icons/src/main/java/mozilla/components/browser/icons/generator/DefaultIconGenerator.kt#L33)

Overrides [IconGenerator.generate](../-icon-generator/generate.md)

