Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

corbind-core

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

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

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(lifecycleScope) // lifecycle-runtime-ktx

More examples in source code