mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Fix builder calls to new API
Update the example with the right API https://github.com/square/moshi/blob/master/moshi/src/main/java/com/squareup/moshi/Moshi.java#L155
This commit is contained in:
@@ -7,7 +7,7 @@ To use, supply an instance of your desired converter when building your `Moshi`
|
||||
|
||||
```java
|
||||
Moshi moshi = new Moshi.Builder()
|
||||
.addConverterFactory(Date.class, new Rfc3339DateJsonAdapter())
|
||||
.add(Date.class, new Rfc3339DateJsonAdapter())
|
||||
//etc
|
||||
.build();
|
||||
```
|
||||
|
Reference in New Issue
Block a user