RxKotlin 1.0 RC1
Pre-releaseThis is the release candidate of RxKotlin 1.0, which is backed by RxJava 1.2.7 and Kotlin 1.1. Please review this library and let us know if you have any feedback before the official 1.0 release, which we are aiming to do fairly quickly. Next we will tackle RxKotlin 2.0 which will be backed by RxJava 2.x.
Some of the changes in this API from the 0.x versions:
-
All non-member function factories have been removed as discussed in #58.
-
Observable<T>#joinToString()
extension function added to reduce emissions to a concatenatedString
, with an optionalseparator
andprefix
/postfix
. -
xxxArray#.toObservable()
extension functions have been corrected to iterate arrays as Iterables and not convert them to Lists, ensuring mutations are captured for subsequent subscriptions. -
The
Observable<T>#lift()
andObservable<T>#fold()
extension functions have been removed. -
subscribeWith()
has been rename tosubscribeBy()
to prevent convention clashing with RxJava2, and has been greatly simplified in its implementation. -
All
Subject
functions masquerading as constructors have been removed. -
Extension functions targeting
List<Observable<T>>
now targetIterable<Observable<T>>
. -
A handful of extension functions targeting
Observable<Observable<T>>
have been ported from RxPy, includingmergeAll()
,concatAll()
, andswitchLatest()
.