https://kotlinlang.org
Join Slack
I’m trying to enable wasm on a multiplatform project that uses coroutines, but i get this error mess...
c

christophsturm

about 2 years ago
I’m trying to enable wasm on a multiplatform project that uses coroutines, but i get this error message from gradle:
> No matching variant of org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.2-wasm3 was found. The consumer was configured to find a library for use during 'kotlin-runtime', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm', attribute 'org.jetbrains.kotlin.wasm.target' with value 'wasi', attribute 'org.jetbrains.kotlin.js.public.package.json' with value 'public-package-json' but:
          - Variant 'androidNativeArm32ApiElements-published' capability org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.2-wasm3 declares a library:
              - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm'
(I got the dependency info from https://kotlinlang.org/docs/wasm-libraries.html)
c
z
p
  • 3
  • 5
  • 310
Why should we use Kotlin coroutines when we have mutiny-kotlin ?
s

Shankargouda Annigeri

almost 3 years ago
Why should we use Kotlin coroutines when we have mutiny-kotlin ?
s
t
+3
  • 5
  • 4
  • 310
Anyway I can disable the "click ripple" on the M3 `FilterChip` ? For some reason all the internal st...
t

Tgo1014

almost 3 years ago
Anyway I can disable the "click ripple" on the M3
FilterChip
? For some reason all the internal stuff is private (
SelectableChip
,
Chip
) on the material 3 lib so it's really hand to customize to my needs 😕 I would like that even if the user clicks the click it's ignored and the thing behind is clicked instead
t
j
m
  • 3
  • 4
  • 310
Is there any way to slow down the animation speed of `LazyListState.animateScrollToItem`? I noticed ...
c

Chuck Stein

over 3 years ago
Is there any way to slow down the animation speed of
LazyListState.animateScrollToItem
? I noticed that
ScrollableState.animateScrollBy
accepts an
animationSpec
but
animateScrollToItem
does not
c
r
  • 2
  • 3
  • 310
What actually `ArgumentListWrapping` checks?
i

iamthevoid

over 4 years ago
What actually
ArgumentListWrapping
checks?
i
g
  • 2
  • 7
  • 310
Hello, I want to integrate google login from android app with Ktor server but I do not know where to...
f

franek

about 7 years ago
Hello, I want to integrate google login from android app with Ktor server but I do not know where to start. I find this: https://ktor.io/quickstart/guides/oauth.html but I’m not sure if I need that So my questions: 1. I have clientId also secretId but what is this secretSignKey = hex(“00010”) // @TODO: Remember to change this! Where I can get secretSignKey? 2. With google login SDK I get TOKEN in android app, I need to send this key/token to the server and here I lost 😞 Is there any tutorial how do that? How connect token from google android sdk with oauth on ktor side?
f
c
t
  • 3
  • 4
  • 310
Is it possible to catch kotlin exception in swift code? (kotlin part imported as a framework)
j

Jaroslav

about 7 years ago
Is it possible to catch kotlin exception in swift code? (kotlin part imported as a framework)
j
t
+4
  • 6
  • 35
  • 310
When to use koinViewModel vs koinNavViewModel. I'm using navigation-compose and everything seems to ...
c

Colton Idle

over 1 year ago
When to use koinViewModel vs koinNavViewModel. I'm using navigation-compose and everything seems to work fine with koinViewModel. Not sure if I should move to the koinNavViewModel instead?
c
p
h
  • 3
  • 3
  • 309
it seems exposed doesn't support array aggregate function in postgres? I have a 1 to many relations...
k

Karl Azzam

over 1 year ago
it seems exposed doesn't support array aggregate function in postgres? I have a 1 to many relationship between a user_table and user_attributes_table
SELECT
    u.id AS user_id,
    ARRAY_AGG(ua.entity_path) AS paths
FROM
    foo_schema.user_table u
        JOIN
    foo_schema.user_attributes_table ua ON u.id = ua.user_id
GROUP BY
    u.id
I instead am doing this where i get multiple rows per user for each user's entity path.
SELECT
    u.id AS user_id,
    ua.entity_path AS path
FROM
    foo_schema.user_table u
        JOIN
    foo_schema.user_attributes_table ua ON u.id = ua.user_id
GROUP BY
    u.id, ua.entity_path
k
c
  • 2
  • 2
  • 309
Quick question: how can you configure jvmRun gradle task and specify the main class?
r

Richard Glen

about 2 years ago
Quick question: how can you configure jvmRun gradle task and specify the main class?
r
p
e
  • 3
  • 16
  • 309
Previous226227228Next

kotlinlang

A modern programming language that makes developers happier.

Powered by