Corbind logo
Follow Star

To add androidx core bindings, import corbind-core module:

dependencies {
    implementation("ru.ldralighieri.corbind:corbind-core:1.10.0")
}

List of extensions

Component Extension Description
NestedScrollView scrollChangeEvents Called when the scroll position of a view changes.

Example

scrollView.scrollChangeEvents() // Flow<ViewScrollChangeEvent>
    .onEach { /* handle scroll change events */ }
    .flowWithLifecycle(lifecycle)
    .launchIn(scope)

More examples in source code