https://github.com/retrostreams/android-retroflow
Backport of Java 9 (JEP 266) reactive-streams Flow and SubmissionPublisher API for Android Studio 3.x D8 / desugar toolchain, forked from https://github.com/stefan-zobel/streamsupport
https://github.com/retrostreams/android-retroflow
android flow java8 java9 jep-266 reactive-streams
Last synced: 5 months ago
JSON representation
Backport of Java 9 (JEP 266) reactive-streams Flow and SubmissionPublisher API for Android Studio 3.x D8 / desugar toolchain, forked from https://github.com/stefan-zobel/streamsupport
- Host: GitHub
- URL: https://github.com/retrostreams/android-retroflow
- Owner: retrostreams
- Created: 2017-07-08T17:44:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-19T18:27:07.000Z (over 4 years ago)
- Last Synced: 2023-07-28T10:28:58.649Z (over 2 years ago)
- Topics: android, flow, java8, java9, jep-266, reactive-streams
- Language: Java
- Homepage: https://retrostreams.github.io/android-retroflow/
- Size: 432 KB
- Stars: 21
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://mvnrepository.com/artifact/net.sourceforge.streamsupport/android-retroflow)
[](https://javadoc.io/doc/net.sourceforge.streamsupport/android-retroflow)
# 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.x D8 / 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](https://github.com/retrostreams/android-retrostreams) (via [android-retrofuture](https://github.com/retrostreams/android-retrofuture)) which is why this exists as a separate component (the corresponding
[streamsupport-flow](https://github.com/stefan-zobel/streamsupport/tree/master/src/flow) component can't be used with android-retrostreams
and [android-retrostreams](https://github.com/retrostreams/android-retrostreams) itself can *only* be used with desugar or Java 8 and higher).
Other than having a different package name this code has no further changes compared with [streamsupport-flow](https://github.com/stefan-zobel/streamsupport/tree/master/src/flow)
Online Javadoc is available at [docs](https://retrostreams.github.io/android-retroflow/apidocs/index.html)
Please give feedback [here](https://github.com/retrostreams/android-retroflow/issues) if you experience any problems.
### build.gradle:
```gradle
dependencies {
implementation 'net.sourceforge.streamsupport:android-retroflow:1.7.4'
}
```
## LICENSE
GNU General Public License, version 2, [with the Classpath Exception](https://github.com/retrostreams/android-retroflow/blob/master/GPL_ClasspathException) (and [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) for JSR-166 derived code)