[android-components](../../index.md) / [mozilla.components.feature.qr](../index.md) / [QrFragment](index.md) / [onViewCreated](./on-view-created.md)

# onViewCreated

`fun onViewCreated(view: <ERROR CLASS>, savedInstanceState: <ERROR CLASS>?): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/qr/src/main/java/mozilla/components/feature/qr/QrFragment.kt#L199)