Kotlin Coroutines Flow binding APIs for Android's platform and unbundled UI widgets, inspired by RxBinding.
MaterialTimePicker
:
fun <S> MaterialDatePicker<S>.cancels(): Flow<Unit>
fun <S> MaterialDatePicker<S>.dismisses(): Flow<Unit>
fun <S> MaterialDatePicker<S>.negativeButtonClicks(): Flow<Unit>
fun <S> MaterialDatePicker<S>.positiveButtonClicks(): Flow<S>
packagingOptions
exclusion.flowbinding-common
dependency is no longer required.InitialValueFlow
type for the bindings which emit state. All bindings with the emitImmediately: Boolean = false
param have been migrated to to return InitialValueFlow
. This is also a behavior change as the current value of a widget will now be emitted immediately upon collection. The new InitialValueFlow
provides a skipInitialValue()
function for skipping the initial emission.drawerlayout:1.1.0
fragment:1.2.5
navigation:2.3.0
swiperefreshlayout:1.1.0
fun Slider.touchEvents(): Flow<SliderTouchEvent>
fun RangeSlider.valuesChanges(emitImmediately: Boolean = false): Flow<List<Float>>
fun RangeSlider.changeEvents(emitImmediately: Boolean = false): Flow<RangeSliderChangeEvent>
fun RangeSlider.touchEvents(): Flow<RangeSliderTouchEvent>
fun TextInputLayout.errorIconClicks(): Flow<Unit>
fun TextInputLayout.errorIconLongClicks(): Flow<Unit>