Browse Source

Update README.md to reflect version 0.4.0

tags/0.4.1^2
Robert Wiebe 4 months ago
parent
commit
ffd4418f40
2 changed files with 2 additions and 2 deletions
  1. +1
    -2
      README.md
  2. +1
    -0
      build.gradle

+ 1
- 2
README.md View File

@@ -20,7 +20,6 @@ repositories {
}

dependencies {
implementation 'com.google.code.gson:gson:2.8.5'
implementation "com.github.nextcloud:Android-SingleSignOn:0.4.0"
}
```
@@ -180,7 +179,7 @@ AccountImporter.getSingleSignOnAccount(context, accountName);
```

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.
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.

5.1) **Using Retrofit**


+ 1
- 0
build.gradle View File

@@ -51,6 +51,7 @@ android {
}

dependencies {
implementation 'com.google.code.gson:gson:2.8.5'
implementation "androidx.appcompat:appcompat:1.0.2"
implementation 'androidx.annotation:annotation:1.0.2'
implementation 'androidx.core:core:1.0.2'

Loading…
Cancel
Save