Skip to content

0.2.0

Compare
Choose a tag to compare
@JakeWharton JakeWharton released this 23 Aug 05:54
· 446 commits to master since this release
  • New modules!
    • rxbinding-appcompat-v7 (and rxbinding-appcompat-v7-kotlin) for the 'AppCompat Support Library':
      • RxSearchView:
        • queryTextChanges - Query text changes.
        • queryTextChangeEvents - Query text change events.
        • query - Sets the query text.
      • RxToolbar:
        • itemClicks - Item clicks.
    • rxbinding-design (and rxbinding-design-kotlin) for the 'Design Support Library':
      • RxNavigationView:
        • itemSelections - Item selections.
      • RxSnackbar:
        • dismisses - Dismiss events.
      • RxTabLayout:
        • selections - Tab selections.
        • selectionEvents - Tab selection, reselection, and unselection events.
        • select - Sets the selected tab.
    • rxbinding-recyclerview-v7 (and rxbinding-recyclerview-v7-kotlin) for the 'RecyclerView Support Library':
      • RxRecyclerView:
        • scrollEvents - Scroll events.
        • scrollStateChangeEvents - Scroll state change events (dragging, settling, idling).
  • New bindings!
    • rxbinding:
      • RxSearchView:
        • queryTextChanges - Query text changes.
        • queryTextChangeEvents - Query text change events.
        • query - Sets the query text.
      • RxSwipeRefreshLayout:
        • refreshes - Refresh events.
        • refreshing - Whether showing the refreshing indicator.
      • RxTextSwitcher:
        • text - Sets the text to display.
        • currentText - Sets the current displayed text.
      • RxToolbar:
        • itemClicks - Item clicks.
      • RxView:
        • attaches - Attach indication.
        • attachEvents - Attach and detach events.
        • detaches - Detach indication.
  • Added @CheckResult to methods which will generate lint warnings if the return value is ignored.
  • Added @NonNull to methods to indicate to lint that they will never return null and added to parameters
    to indicate to lint for which arguments is null not allowed. Explicit null checks have been removed.
  • Update Kotlin modules to Kotlin v0.12.1230.
  • Update support library dependencies to v23.0.0.
  • Minimum SDK version is now 14 because reasons.
  • Fix: Kotlin modules now have correct dependencies on the corresponding Java modules.

Platform bindings:

compile 'com.jakewharton.rxbinding:rxbinding:0.2.0'

'support-v4' library bindings:

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

'appcompat-v7' library bindings:

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

'design' library bindings:

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

'recyclerview-v7' library bindings:

compile 'com.jakewharton.rxbinding:rxbinding-recyclerview-v7:0.2.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.