[android-components](../../index.md) / [mozilla.components.feature.session](../index.md) / [CoordinateScrollingFeature](index.md) / [onLoadingStateChanged](./on-loading-state-changed.md)

# onLoadingStateChanged

`fun onLoadingStateChanged(session: `[`Session`](../../mozilla.components.browser.session/-session/index.md)`, loading: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/session/src/main/java/mozilla/components/feature/session/CoordinateScrollingFeature.kt#L39)

Overrides [Observer.onLoadingStateChanged](../../mozilla.components.browser.session/-session/-observer/on-loading-state-changed.md)

