https://kotlinlang.org
Join Slack
I'm getting the following error when trying to build an app with ktor ```No matching toolchains foun...
r

Rodrigo Silva

over 2 years ago
I'm getting the following error when trying to build an app with ktor
No matching toolchains found for requested specification: {languageVersion=11, vendor=any, implementation=vendor-specific}.
gradle 8.0.2, openjdk 17
r
a
  • 2
  • 2
  • 1254
Are there plans from JetBrains for a multiplatform crypto library? Iirc it was one of the most upvot...
b

benkuly

over 3 years ago
Are there plans from JetBrains for a multiplatform crypto library? Iirc it was one of the most upvoted features here in slack, when someone from JetBrains asked for missing features.
👍 1
➕ 1
b
o
z
  • 3
  • 10
  • 1254
When I use AsyncImage from `coil` in a `lazyList` I see lags during scrolling because image needs so...
e

electrolobzik

over 1 year ago
When I use AsyncImage from
coil
in a
lazyList
I see lags during scrolling because image needs some time to load. Is it possible to somehow preload a couple of items in direction of scrolling to avoid that lags? I was not able to find any API for that.
e
u
+3
  • 5
  • 37
  • 1253
How can I disable `HorizontalPager` scroll (via `userScrollEnabled`) when the user started a `LazyCo...
s

ste

about 3 years ago
How can I disable
HorizontalPager
scroll (via
userScrollEnabled
) when the user started a
LazyColumn
scroll (and vice versa)? Do I need to write a complex
NestedScrollConnection
?
untitled.webm
s
c
  • 2
  • 11
  • 1253
Hello! I am trying to load a layer-list drawable with this code: ```Image( painter = painterReso...
v

Vaios Tsitsonis

over 3 years ago
Hello! I am trying to load a layer-list drawable with this code:
Image(
    painter = painterResource(id = someId),
    contentDescription = null
)
but i get this error:
Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG
. I can load vector drawables so I suppose that I need to load layer-list differently... How is this possible?
v
m
+2
  • 4
  • 7
  • 1251
Does Compose Multiplatform allow changing the `statusBarColor` (android, ios, desktop) with “one lin...
a

Andrey Larionov

over 1 year ago
Does Compose Multiplatform allow changing the
statusBarColor
(android, ios, desktop) with “one line” of code? (similar to
accompanist
library) Or should I declare an expect/actual functions?
👀 1
a
p
j
  • 3
  • 2
  • 1250
Hi all, can we use firebase analytic on a KMM project?
b

brabo-hi

over 3 years ago
Hi all, can we use firebase analytic on a KMM project?
b
m
k
  • 3
  • 12
  • 1249
How can you fill a row with two buttons: First button should take the max width, but there should be...
h

hfhbd

over 3 years ago
How can you fill a row with two buttons: First button should take the max width, but there should be another minified button.
@Composable
fun InfoButton(infoTest: String, button: @Composable (Modifier) -> Unit) {
    Row(modifier = Modifier.fillMaxWidth()) {
        Info(infoTest)
        button(Modifier.fillMaxWidth())
    }
}
This code renders the icon at the left side, I want to show them on the right side
h
p
c
  • 3
  • 9
  • 1248
Is there any plan to support edge-to-edge on iOS and Android platforms under Compose Multiplatform? ...
a

Armond Avanes

over 1 year ago
Is there any plan to support edge-to-edge on iOS and Android platforms under Compose Multiplatform? Or if there is any existing implementation/library, I'd like to know about it.
a
c
a
  • 3
  • 7
  • 1247
is there any way to disable paste on a TextField?
m

myanmarking

over 3 years ago
is there any way to disable paste on a TextField?
m
c
o
  • 3
  • 3
  • 1244
Previous262728Next

kotlinlang

A modern programming language that makes developers happier.

Powered by