Skip to content

0.3.0

Compare
Choose a tag to compare
@JakeWharton JakeWharton released this 23 Oct 03:03
· 345 commits to master since this release
  • New modules!
    • rxbinding-leanback-v17 (and rxbinding-leanback-v17-kotlin) for the 'Leanback Support Library':
      • RxSearchBar:
        • searchQuery - Sets the query text.
        • searchQueryChanges - Query text changes.
        • searchQueryChangeEvents - Query text change events.
      • RxSearchEditText:
        • keyboardDismisses - Keyboard dismisses.
  • New bindings!
    • rxbinding:
      • RxAutoCompleteTextView:
        • itemClickEvents - Suggestion item clicks.
      • RxCheckedTextView:
        • checked - Sets the checked state.
      • RxMenuItem:
        • actionViewEvents - Action view expand and collapse events.
        • checked - Sets the checked state.
        • clicks - Item clicks.
        • enabled - Sets the enabled state.
        • icon - Sets the icon.
        • iconRes - Sets the icon using a resource.
        • title - Sets the title.
        • titleRes - Sets the title using a resources.
        • visible - Sets the visible state.
      • RxSeekBar:
        • userChanges - Only user value changes.
        • systemChanges - Only system value changes.
      • RxTextView:
        • afterTextChangeEvents - After text change events.
        • beforeTextChangeEvents - Before text change events.
        • color - Sets the text color.
        • error - Sets the error text.
        • errorRes - Sets the error text using a resource.
        • hint - Sets the hint text.
        • hintRes - Sets the hint text using a resource.
      • RxToolbar:
        • navigationClicks - Clicks on the navigation view.
      • RxView:
        • draws - ViewTreeObserver draw events.
        • globalLayouts - ViewTreeObserver global layout events.
        • hovers - View hover MotionEvent.
        • hoverEvents - View hover MotionEvent events.
        • layoutChanges - ViewTreeObserver layout changes.
        • layoutChangeEvents - ViewTreeObserver layout change events.
        • preDraws - ViewTreeObserver pre-draw events.
        • scrollChangeEvents - Scroll offset change events.
        • systemUiVisibilityChanges - System UI visibility changes.
      • RxViewGroup:
        • changeEvents - Child add and remove events.
    • rxbinding-appcompat-v7:
      • RxToolbar:
        • navigationClicks - Clicks on the navigation view.
    • rxbinding-design:
      • RxAppBarLayout:
        • offsetChanges - Offset value changes.
      • RxSwipeDismissBehavior:
        • dismisses - Dismiss events.
      • RxTextInputLayoutTest:
        • counterEnabled - Sets the enabled state of the counter.
        • counterMaxLength - Sets the maximum length of the counter.
        • hint - Sets the hint text.
        • hintRest - Sets the hint text using a resource.
    • rxbinding-recyclerview-v7:
      • RxRecyclerView:
        • scrollStateChanges - Scroll state changes (dragging, settling, idling).
      • RxRecyclerViewAdapter:
        • childAttachStateChangeEvents - Child attach and detach events.
        • dataChanges - Adapter data changes.
    • rxbinding-support-v4:
      • RxViewPager:
        • pageSelections - Page index selections.
  • Update Kotlin dependency to v1.0.0-beta-1038.
  • Update support library dependencies to v23.1.0.
  • Fix: Bindings whose values are irrelevant now use Void instead of Object (and Unit in
    Kotlin).
  • Fix: Remove binding overloads which provided event objects that included no additional
    information (aside from the source view). To include the source view for an event, add it with
    the map operator (e.g., RxFoo.bar(sourceView).map(data -> new Pair<>(sourceView, data))).
    • RxCompoundButton.checkedChangeEvents
    • RxRadioGroup.checkedChangeEvents
    • RxRecyclerView.scrollStateChangeEvents
    • RxView.clickEvents
    • RxView.dragEvents
    • RxView.focusChangeEvents
    • RxView.hoverEvents
    • RxView.longClickEvents
    • RxView.touchEvents

Platform bindings:

compile 'com.jakewharton.rxbinding:rxbinding:0.3.0'

'support-v4' library bindings:

compile 'com.jakewharton.rxbinding:rxbinding-support-v4:0.3.0'

'appcompat-v7' library bindings:

compile 'com.jakewharton.rxbinding:rxbinding-appcompat-v7:0.3.0'

'design' library bindings:

compile 'com.jakewharton.rxbinding:rxbinding-design:0.3.0'

'recyclerview-v7' library bindings:

compile 'com.jakewharton.rxbinding:rxbinding-recyclerview-v7:0.3.0'

'leanback-v17' library bindings:

compile 'com.jakewharton.rxbinding:rxbinding-leanback-v17:0.3.0'

Kotlin extension methods for all of the above libraries are available by appending -kotlin to the 'artifactId' of the dependency. For example, rxbinding-support-v4 becomes rxbinding-support-v4-kotlin.