Join Slack
Powered by
Is there a way to make use of Ktor Locations on an...
# android
a
Andre Stefanov
08/22/2021, 12:35 PM
Is there a way to make use of Ktor Locations on android http client? The idea is to have shared module between android and ktor backend and thus define the routes and models only in one place
d
Dominaezzz
08/22/2021, 12:39 PM
You can copy some of
https://github.com/ktorio/ktor/pull/2357
into your code for now, then migrate to the official solution once it lands.
a
Andre Stefanov
08/22/2021, 12:40 PM
nice, thank you very much!
m
Michal Klimczak
08/22/2021, 12:47 PM
There should be an emoji that says "Wow it's actually kotlin related!"
😂 2
d
Dominaezzz
08/22/2021, 12:49 PM
Hahaha, technically this question should've gone in
#ktor
but I didn't notice this was
#android
.
a
Andre Stefanov
08/22/2021, 12:50 PM
sry my bad ... did not see that there are 522 channels actually. i was seeing only default 6 and did not come up with the idea to search for others.
Open in Slack
Previous
Next