Backport of Java 9 (JEP 266) reactive-streams Flow and SubmissionPublisher API for Android Studio 3.0 desugar toolchain, forked from https://github.com/stefan-zobel/streamsupport
Java
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
art add streamsupport logo Jul 13, 2017
docs
src/main/java/java9/util/concurrent
.gitignore
LICENSE
README.md
pom.xml

README.md

Maven Central javadoc.io Download

android-retroflow

android-retroflow is a backport of the new Java 9 (JEP 266) reactive-streams Flow and SubmissionPublisher API for Android developers wanting to use the Android Studio 3.0 desugar toolchain.

There is nothing specific to Android or the desugar toolchain in this code (it could even be compiled to Java 6 bytecode) but it has an indirect dependency on android-retrostreams (via android-retrofuture) which is why this exists as a separate component (the corresponding streamsupport-flow component can't be used with android-retrostreams and android-retrostreams itself can only be used with desugar or Java 8 / 9).

Other than having a different package name this code has no further changes compared with streamsupport-flow

Online Javadoc is available at docs

Please give feedback here if you experience any problems.

build.gradle:

dependencies {
    compile 'net.sourceforge.streamsupport:android-retroflow:1.6.3'
}

LICENSE

GNU General Public License, version 2, with the Classpath Exception