Skip to content

Commit

Permalink
update with sources
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrah committed Oct 4, 2024
1 parent 3e6f972 commit f53488d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
13 changes: 4 additions & 9 deletions docs/src/network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,21 +396,16 @@ fun generateQuiz(): Quiz {
```
:::

## Image loading from internet

To load an image from the internet, you can use the following third-party Compose Multiplatform libraries
- [Compose Image Loader ](https://github.com/qdsfdhvh/compose-imageloader)
- [Kamel](https://github.com/Kamel-Media/Kamel)


::: tip Other libs
If you want well-known retrofit style lib, you can use [KtorFit](https://github.com/Foso/Ktorfit) to separate endpoint declaration from httpclient configuration
:::

Also for better image loading from the internet with cache, you can use the following third-party Compose Multiplatform libraries
- [Compose Image Loader ](https://github.com/qdsfdhvh/compose-imageloader)
- [Kamel](https://github.com/Kamel-Media/Kamel)
:::

An that's it, you quiz have now a remote list of questions.
If you want to get navigation between your WelcomeScreen, QuizScreen and ScoreScreen,
go to the next section →

**✅ If everything is fine, go to the next chapter →**

Expand Down
4 changes: 4 additions & 0 deletions docs/src/preferences/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,7 @@ class QuizRepository {
}
````
:::

::: tip Sources
The full sources can be retrieved [here](https://github.com/worldline/learning-kotlin-multiplatform/raw/main/docs/src/assets/solutions/6.preferences.zip)
:::

0 comments on commit f53488d

Please sign in to comment.