You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Monorepo with Java Kontent.ai packages.
15
15
|[Kontent.ai Sample Gradle Console app](/test-gradle-console-app#readme)| Simple Java console application showcasing how to load data from Kontent.ai. |[source](/test-gradle-console-app/README.md)|
16
16
|[Kontent.ai Sample Android app (Java)](/sample-app-android#readme)| Showcase of the [Android](https://www.android.com/) application written in Java using [RxJava](https://github.com/ReactiveX/RxJava) for data fetching from Kontent.ai. |[source](/sample-app-android/README.md)|
17
17
|[Kontent.ai Sample Android app (Kotlin)](/sample-app-android-kotlin#readme)| Showcase of the [Android](https://www.android.com/) application written in Kotlin using [Kotlin Coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html) for data fetching from Kontent.ai. |[source](/sample-app-android-kotlin/README.md)|
18
+
|[Kontent.ai Java packages docs](/docs#readme)| Documentation for Kontent.ai Java packages |[source](/docs/README.md)|
18
19
19
20
## Development
20
21
@@ -27,7 +28,6 @@ If you wish to find out more about the project specification. Check out the [Pro
27
28
- Java 8 SDK (Oracle & OpenJDK both tested and supported)
28
29
-[Android SDK](https://developer.android.com/studio#downloads) for the sample application (minimal version 28) - command line tools would be sufficient
Copy file name to clipboardExpand all lines: delivery-sdk/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,6 @@ dependencies {
47
47
48
48
The `DeliveryClient` class is the main class of the SDK. Using this class, you can retrieve content from your Kontent.ai projects.
49
49
50
-
51
50
To create an instance of the class, you need to provide a [project ID](https://kontent.ai/learn/tutorials/develop-apps/get-content/getting-content#a-getting-content-items).
52
51
53
52
```java
@@ -87,7 +86,6 @@ Once you create a `DeliveryClient`, you can start querying your project reposito
87
86
88
87
To retrieve unpublished content, you need to create a `DeliveryClient` with both Project ID and Preview API key (You could also configure Preview API key in `DeliveryOptions` described above). Each Kontent.ai project has its own Preview API key.
89
88
90
-
91
89
```java
92
90
// Note: Within a single project, we recommend that you work with only
93
91
// either the production or preview Delivery API, not both.
To use this SDK for [Android](https://developer.android.com/) development, you can use any approach compatible with [Java CompletionStage API](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletionStage.html). Most common is to use [Kotlin coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html) for Android applications written in Kotlin and [Java RX](https://github.com/ReactiveX/RxJava) for Android applications written in Java. Both of these approaches are showcased in this repository:
0 commit comments