Skip to content

Commit 014f36e

Browse files
Merge pull request #70 from burningthumb/master
Fix for issue #67
2 parents f3ef6b3 + f7d77af commit 014f36e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ repositories {
2020
}
2121
2222
dependencies {
23-
implementation 'com.google.code.gson:gson:2.8.5'
2423
implementation "com.github.nextcloud:Android-SingleSignOn:0.4.0"
2524
}
2625
```
@@ -180,7 +179,7 @@ AccountImporter.getSingleSignOnAccount(context, accountName);
180179
```
181180

182181

183-
You can use this callback to subscribe to errors that might occur during the initialization of the API. You can start making requests to the API as soon as you instantiated the `NextcloudAPI` object. For a minimal example to get started (without retrofit) take a look at section 4.2. The callback method `onConnected` will be called once the connection to the files app is established. You can start making calls to the api before that callback is fired as the library will queue your calls until the connection is established.
182+
You can use this callback to subscribe to errors that might occur during the initialization of the API. You can start making requests to the API as soon as you instantiated the `NextcloudAPI` object. For a minimal example to get started (without retrofit) take a look at section 5.2. The callback method `onConnected` will be called once the connection to the files app is established. You can start making calls to the api before that callback is fired as the library will queue your calls until the connection is established.
184183

185184
5.1) **Using Retrofit**
186185

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ android {
5151
}
5252

5353
dependencies {
54+
implementation 'com.google.code.gson:gson:2.8.5'
5455
implementation "androidx.appcompat:appcompat:1.0.2"
5556
implementation 'androidx.annotation:annotation:1.0.2'
5657
implementation 'androidx.core:core:1.0.2'

0 commit comments

Comments
 (0)