Hi all,
I’m a beginner. II want to create a Sharing UI project which supported Android, IOS, Desktop and Web. In this project, I want to use ‘_ktor_.client.core’ to get data from Restfull API. Do you have any suggesstion for me ? Thank you very much.
k
Kevin S
11/21/2024, 4:16 PM
You can try looking at some samples/repos from Touchlab
KampKit is a starter project that uses
ktor
and works on Android and iOS. It uses the free DogApi in the DogApiImpl class.
Droidcon has shared UI in the shared-ui module
The Official Jetbrains KMP Wizard is a good starting point, you can create an empty project and select which targets you want to support. Then you can see examples from the touchlab repos to get a good idea of how the APIs are used