• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RxJava 3 adapter for Retrofit 2

RxJavaRetrofitAdapter

RxJava 3 adapter for Retrofit 2

Port of Retrofit/RxJava2 adapter: https://github.com/square/retrofit/tree/master/retrofit-adapters/rxjava2

codecov.io Maven Central

Retrofit 2: Maven Central

RxJava 3: Maven Central

dependencies {
    implementation "com.github.akarnokd:rxjava3-retrofit-adapter:3.0.0"
}

Usage

import retrofit2.*;
import hu.akarnokd.rxjava3.retrofit.*;
import io.reactivex.rxjava3.core.*;

Retrofit retrofit = new Retrofit.Builder()
    .baseUrl("https://example.com/")
    .addCallAdapterFactory(RxJava3CallAdapterFactory.create())
    .build();

interface MyService {
  @GET("/user")
  Observable<User> getUser();
}

More Repositories

1

RxJavaInterop

Library to convert between RxJava 1.x and 2.x/3.x reactive types, schedulers and resource handles.
Java
863
star
2

RxJavaExtensions

RxJava 2.x & 3.x extra sources, operators and components and ports of many 1.x companion libraries.
Java
686
star
3

kotlin-flow-extensions

Extensions to the Kotlin Flow library.
Kotlin
504
star
4

open-ig

Free & open-source reimplementation of Imperium Galactica. Download the Installer below the file list!
Java
245
star
5

RxJava3-preview

Preview for version 3 of RxJava, the modern ReactiveX style library for composing (a)synchronous sequences of data and events
Java
234
star
6

ixjava

Iterable Extensions for Java 6+
Java
208
star
7

RxJavaBridge

Bridge between RxJava 2 and RxJava 3
Java
94
star
8

RxJavaJdk8Interop

RxJava 2/3 interop library for supporting Java 8 features such as Optional, Stream and CompletableFuture [discontinued]
Java
71
star
9

jmh-compare-gui

GUI for comparing JMH results
Java
70
star
10

RxAgera

Convert between RxJava and Agera reactive base types
Java
60
star
11

akarnokd-misc

Miscellaneous classes, implementations with gradle and jmh set up
Java
54
star
12

reactive-extensions

Extensions to the dotnet/reactive library.
C#
50
star
13

Reactive4JavaFlow

Reactive Programming library based on the Java 9 Flow API and a 4th generation ReactiveX-style architecture.
Java
50
star
14

ThePlanetCrafterMods

BepInEx+Harmony mods for the Unity/Steam game The Planet Crafter
C#
45
star
15

async-enumerable-dotnet

Experimental operators for C# 8 IAsyncEnumerables
C#
39
star
16

Reactive4.NET

Modern, Reactive-Streams compliant library for composing (a)synchronous sequences of data and events
C#
35
star
17

RxJavaFiberInterop

Library for interoperation between RxJava 3 and JDK 21+ Virtual Threads
Java
33
star
18

plan-b-terraform-mods

Unity/BepInEx mods for the Steam game Plan B Terraform
C#
28
star
19

AgeraTest2

Small Android application to test reactive solutions
Java
21
star
20

RxJavaJdk9Interop

RxJava 2/3 interop library for supporting Java 9 features such as Flow.*
Java
21
star
21

async-enumerable

Prototype Java 9 library based on the asynchronous enumerable concept (where moveNext() returns a task to compose over).
Java
18
star
22

rng-76

Rng 76 - Hunt for the TSE
JavaScript
18
star
23

RxJavaSwing

Bridge between Java 6 Swing (GUI) events and RxJava 2/3 + a scheduler for the swing event dispatch thread.
Java
14
star
24

rxjava2-backport

Discontinued, use RxJava 2
Java
11
star
25

RxJavaAndroidInterop

Interop library for exposing Android's main thread and loopers as RxJava 3 Schedulers directly.
Java
11
star
26

akarnokd-reactive-rpc

Reactive Remote Procedure/Publisher Call/Consumption library based on Reactive-Streams
Java
11
star
27

RxAdvancedFlow

Fluent C# implementation of the ReactiveStreamsCS APIs.
C#
8
star
28

RxJavaCompletable

Completable class for valueless event composition with RxJava
Java
8
star
29

RxJavaFlow

RxJava reimplementation for Java 9 by using JDK's j.u.c.Flow API and functional classes
Java
7
star
30

surviving-mars-mods

Surviving Mars Mods
Lua
7
star
31

akarnokd-misc-kotlin

Miscellaneous code of me written in Kotlin.
Kotlin
6
star
32

akarnokd-tools-and-utils

My ad-hoc algorithms, programs and libraries
Java
6
star
33

RxJava2_9

RxJava 2 source code built with Java 8 through 14 environment for compatibility testing
Java
5
star
34

RxReactiveStreamsCSharp

C# port of the backpressure-aware, Reactive-Streams compliant RxJava 2.0 with fluent API
C#
4
star
35

phd_dissertation

My PhD dissertation and booklets
4
star
36

akarnokd-misc-java9

Misc code for Java 9
Java
3
star
37

loom-interop-experiments

Code to experiment with Project Loom continuation/fiber API.
Java
3
star
38

space-4x-management-game

Prototype 4x (explore, expand, exploit, exterminate) real-time space strategy game.
Java
3
star
39

RxTS

Reactive-Extensions over Reactive-Streams for TypeScript
TypeScript
3
star
40

reactive4java

Library for reactive, dataflow oriented programming for Java - the very first ReactiveX-style reactive programming library on the JVM from 2011-2012
Java
3
star
41

jdk-8-android-desugar-check

See how Android's desugaring would work with RxJava moved to Java 8
Java
3
star
42

jdk-9-experiments

Experiment with the new JDK 9 APIs
Java
2
star
43

ReactiveChannel

Exploring indeas around bidirectional reactive streams in memory and over a network boundary
Java
2
star
44

ReactiveStreamsCS

C# definition of the Reactive-Streams API plus Single and Completable.
C#
2
star
45

reactive-streams-impl

Non-fluent operators to interact with reactive-streams interfaces
Java
2
star
46

akarnokd-misc-scala

Scala experiments
Scala
2
star
47

RxJava3_BuildMatrix

Build RxJava 3 with multiple target Java and JVM versions
Java
2
star
48

RxJava2ReactorInterop

Native interoperation library between RxJava 2 and Reactor 3, including fusion, processors and schedulers
2
star
49

reactive-streams-jvm-extensions-xp

Experimental extensions to the Reactive-Streams API and TCKs: fusion, queues, standard tools.
Java
1
star
50

akarnokd-misc-swift

Swift experiments
Swift
1
star
51

RxJavaMicroprofileRS

RxJava 3 service implementation for the Eclipse Microprofile Reactive Streams Operators SPI
Java
1
star
52

akarnokd-opengl-experiment

My experimentation with LWJGL
Java
1
star
53

akarnokd-misc-dotnet

Various experiments with .NET code and libraries
C#
1
star
54

advance-flow-engine

Software of the EU project ADVANCE: Advanced predictive-analysis-based decision-support engine for logistics
Java
1
star