Skip to content
This repository was archived by the owner on Jun 6, 2019. It is now read-only.

Commit 9362f50

Browse files
authored
Merge pull request #1 from juanchosaravia/juancho/master/readme_fix
Update incorrect adapter factory name in readme file
2 parents e9d222f + 906f7de commit 9362f50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ A Retrofit 2 `CallAdapter.Factory` for [Kotlin coroutine's][1] `Deferred`.
77
Usage
88
-----
99

10-
Add `KotlinCoroutineCallAdapterFactory` as a `Call` adapter when building your `Retrofit` instance:
10+
Add `CoroutineCallAdapterFactory` as a `Call` adapter when building your `Retrofit` instance:
1111
```kotlin
1212
val retrofit = Retrofit.Builder()
1313
.baseUrl("https://example.com/")
14-
.addCallAdapterFactory(KotlinCoroutineCallAdapter())
14+
.addCallAdapterFactory(CoroutineCallAdapterFactory())
1515
.build()
1616
```
1717

0 commit comments

Comments
 (0)