https://kotlinlang.org
Join Slack
is there an official openapi-generator for kotlin ktor client?
x

xxfast

almost 4 years ago
is there an official openapi-generator for kotlin ktor client?
✅ 1
x
a
+3
  • 5
  • 7
  • 1822
I get stuck on `com.zaxxer.hikari.HikariDataSource: HikariPool-1 - Starting...` every single time I...
m

Mikhail

over 3 years ago
I get stuck on
com.zaxxer.hikari.HikariDataSource: HikariPool-1 - Starting...
every single time I run my application. Using Spring Boot and Docker Compose on Arch Linux. What I've tried: • Rebooting • Checking the connection string • Checking database availability • Checking my docker compose configuration • Downgrading the kernel then rebooting • Upgrading the kernel then rebooting • Cleaning up docker (containers, images, volumes ....) then rebooting • Restarting docker Also, I use Spring Boot 2.7.1, PostgreSQL 15beta2-bullseye, Docker 20.10.17 and Docker Compose 2.6.1
😶 1
m
i
  • 2
  • 7
  • 1813
I’m trying to upload an Image from a Compose Multiplatform via Ktor. I have the image data as ImageB...
m

msomu

almost 2 years ago
I’m trying to upload an Image from a Compose Multiplatform via Ktor. I have the image data as ImageBitmap object how can I convert it into a Bitmap so that i can upload via Ktor? When I tried to change the
androidx.compose.ui.graphics.ImageBitmap
into a
org.jetbrains.skia.Bitmap
using
asSkiaBitmap
I’m getting this error
Unresolved reference: asSkiaBitmap
Any help on resolving how to use
asSkiaBitmap()
function in the
commonMain
module?
m
a
+3
  • 5
  • 9
  • 1811
How to scroll down the screen in compose test?
r

Rekha

over 3 years ago
How to scroll down the screen in compose test?
r
t
  • 2
  • 2
  • 1799
Hi! How can we share ViewModel across platforms in compose Multiplatform?
a

Ahmad Hassan

over 2 years ago
Hi! How can we share ViewModel across platforms in compose Multiplatform?
a
a
+2
  • 4
  • 14
  • 1795
Hi, I currently try to generate a json schema from kotlin classes and generating kotlin classes fro...
h

huehnerlady

over 4 years ago
Hi, I currently try to generate a json schema from kotlin classes and generating kotlin classes from json schema. For my first part - creating schema from kotlin classes, I ran into this post on stack overflow and there I was pointed to kotlinx.serialization at a very early stage (see here). unfortunately this folder was completely removed in this commit. Now I cannot find any hint of similar classes or how I could achieve just that. Is this still possible with kotlinx.serialization? If so — how? If not — any other idea how I can achieve that?
h
n
d
  • 3
  • 12
  • 1788
Is there a way to get `ModalBottomSheetLayout` to expand to anything above 50% in the `HalfExpanded`...
t

Tash

over 2 years ago
Is there a way to get
ModalBottomSheetLayout
to expand to anything above 50% in the
HalfExpanded
state? Right now I have something like this, but it only expands to 50% when I would like it to expand to 70%, or expand a little more than 50% to “wrap” the content’s height so that it doesn’t get cut off (using version 1.4.1)
val sheetState = rememberModalBottomSheetState(
	initialValue = HalfExpanded,
    skipHalfExpanded = false
)

ModalBottomSheetLayout(
	sheetState = sheetState
	sheetContent = {
		Column(Modifier.fillMaxHeight(0.7f)) { /** content **/ }
	}
)
t
j
j
  • 3
  • 11
  • 1783
Hello, How do you manage String resources in Kotlin Multiplatform Mobile(Android & iOS)? I found...
i

Ivy

almost 5 years ago
Hello, How do you manage String resources in Kotlin Multiplatform Mobile(Android & iOS)? I found this post(https://chrynan.codes/string-resources-in-kotlin-multiplatform/), but I wonder what the best practice is.
i
m
+2
  • 4
  • 8
  • 1783
How to animate item placements in `FlowRow`?
m

Mark

over 2 years ago
How to animate item placements in
FlowRow
?
m
u
+4
  • 6
  • 28
  • 1782
Hi, how do I pass environment variables in a Gradle Configuration that runs the `:run` task to the K...
a

Ayfri

over 2 years ago
Hi, how do I pass environment variables in a Gradle Configuration that runs the
:run
task to the Kotlin project of this task ?
a
j
+2
  • 4
  • 21
  • 1782
Previous131415Next

kotlinlang

A modern programming language that makes developers happier.

Powered by