From 0faa0b588362baa9a216c42e619478381d205ffc Mon Sep 17 00:00:00 2001 From: Seongho Hwang Date: Sun, 5 Jan 2020 01:51:59 +0900 Subject: [PATCH] Update README.md I found there is a typo for the class name of RxJava2StreamAdapterFactory [link](https://github.com/Tinder/Scarlet/blob/master/scarlet-stream-adapter-rxjava2/src/main/java/com/tinder/scarlet/streamadapter/rxjava2/RxJava2StreamAdapterFactory.kt) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61954df2..d3426da1 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Use Scarlet to create an implementation: val scarletInstance = Scarlet.Builder() .webSocketFactory(okHttpClient.newWebSocketFactory("wss://ws-feed.gdax.com")) .addMessageAdapterFactory(MoshiMessageAdapter.Factory()) - .addStreamAdapterFactory(RxJava2StreamAdapter.Factory()) + .addStreamAdapterFactory(RxJava2StreamAdapterFactory()) .build() val gdaxService = scarletInstance.create()