Skip to content

Commit 38a3c19

Browse files
authored
Merge branch 'master' into fix-equals
2 parents 04766f1 + 893ee16 commit 38a3c19

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Users referenced in this file will automatically be requested as reviewers for PRs that modify the given paths.
22
# See https://help.github.com/articles/about-code-owners/
33

4-
* @Simply007
4+
* @Simply007 @kontent-ai/developer-relations

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Monorepo with Java Kontent.ai packages.
1515
| [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) |
1616
| [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) |
1717
| [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)|
1819

1920
## Development
2021

@@ -27,7 +28,6 @@ If you wish to find out more about the project specification. Check out the [Pro
2728
- Java 8 SDK (Oracle & OpenJDK both tested and supported)
2829
- [Android SDK](https://developer.android.com/studio#downloads) for the sample application (minimal version 28) - command line tools would be sufficient
2930

30-
3131
### Build and Test
3232

3333
- Ensure your `JAVA_HOME` environment is set.

delivery-sdk/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ dependencies {
4747

4848
The `DeliveryClient` class is the main class of the SDK. Using this class, you can retrieve content from your Kontent.ai projects.
4949

50-
5150
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).
5251

5352
```java
@@ -87,7 +86,6 @@ Once you create a `DeliveryClient`, you can start querying your project reposito
8786

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

90-
9189
```java
9290
// Note: Within a single project, we recommend that you work with only
9391
// either the production or preview Delivery API, not both.
@@ -150,7 +148,7 @@ CompletionsStage<ContentItemsListingResponse> response = client.getItems(
150148
.includeTotalCount()
151149
.build()
152150
)
153-
```
151+
```
154152

155153
## Response structure
156154

@@ -250,7 +248,7 @@ for (Option option : element.getOptions()) {
250248
item.setValue(option.getCodename());
251249
item.setSelected("semi_dry".equals(option.getCodename()));
252250
}
253-
```
251+
```
254252

255253
### Linked items
256254

@@ -270,8 +268,8 @@ String customElementValue = ((CustomElement) articleItem.getElements().get("colo
270268

271269
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:
272270

273-
* [Android Java sample application](../sample-app-android#readme)
274-
* [Android Kotlin Java Sample application](../sample-app-android-kotlin#readme)
271+
- [Android Java sample application](../sample-app-android#readme)
272+
- [Android Kotlin Java Sample application](../sample-app-android-kotlin#readme)
275273

276274
⚠ There are two Android-specific rules you need to follow in order for the Delivery SDK to work correctly.
277275

@@ -298,6 +296,8 @@ You can still use the [model generator](../delivery-sdk-generators/README.md) fo
298296
299297
## Further information
300298

299+
To see more detailed information, check out the [Kontent.ai Java packages documentation section](/docs/README.md).
300+
301301
For more developer resources, visit the [Kontent.ai Learn portal](https://kontent.ai/learn).
302302

303303
### Showcase

0 commit comments

Comments
 (0)