FlowBinding Versions Save

Kotlin Coroutines Flow binding APIs for Android's platform and unbundled UI widgets, inspired by RxBinding.

1.2.0

2 years ago

Added

  • New bindings for NavigationBarView which works with both BottomNavigationView and the new NavigationRailView, deprecate bindings on BottomNavigationView.

Changed

  • Kotlin 1.5.20
  • Material Components 1.4.0
  • AndroidX Core 1.6.0
  • AndroidX Fragment 1.3.5

1.1.0

2 years ago

Added

  • New bindings for 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>

Changed

  • Kotlin 1.5.10.
  • Coroutines 1.5.0.
  • Material Components 1.3.0
  • AndroidX Activity 1.2.3.
  • AndroidX Annotation 1.2.0.
  • AndroidX AppCompat 1.3.0.
  • AndroidX Core 1.5.0.
  • AndroidX Fragment 1.3.4.
  • AndroidX Lifecycle 2.3.1.
  • AndroidX Navigation 2.3.5.
  • AndroidX RecyclerView 1.2.1.

1.0.0

3 years ago

This is our first stable release! Thanks everyone for using FlowBinding, reporting bugs, providing feedback and sending PRs.

Changed

  • Update to Kotlin 1.4.10.
  • Update to Coroutines 1.4.2.
  • Update to AndroidX Navigation 2.3.2.
  • Update to AndroidX Lifecycle 2.3.0-rc01.

1.0.0-beta02

3 years ago

Changed

  • Convert all custom event types to data class.
  • Update to AndroidX Navigation 2.3.1.
  • Update to Coroutines 1.4.0.

1.0.0-beta01

3 years ago

Added

Changed

  • Update AndroidX dependencies.
  • Update to Kotlin 1.4.10.

1.0.0-alpha04

3 years ago
  • Fixed incorrect packagingOptions exclusion.

1.0.0-alpha03

3 years ago
  • Update to Kotlin 1.4.0 and Coroutines 1.3.9.
  • Enable explicit API mode.
  • Update AndroidX and Material Components.

1.0.0-alpha02

3 years ago
  • Fix: Explicitly adding the flowbinding-common dependency is no longer required.

1.0.0-alpha01

3 years ago
  • Breaking change: Introduced a new 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.
  • Dependency updates:
    • drawerlayout:1.1.0
    • fragment:1.2.5
    • navigation:2.3.0
    • swiperefreshlayout:1.1.0

0.12.0

3 years ago
  • New: Added new bindings for Material Components:
    • 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>
  • Enhancement: Updated to Material Components 1.2.0-beta01.
  • Enhancement: Updated to Coroutines 1.3.7.
  • Enhancement: Started downgrading alpha versions of AndroidX dependencies to latest stable for upcoming FlowBinding 1.0 release.