https://kotlinlang.org
Join Slack
[Solved] In the past few days, I’ve noticed that when I build an iOS binary, I’m getting a failure a...
l

Landry Norris

over 3 years ago
[Solved] In the past few days, I’ve noticed that when I build an iOS binary, I’m getting a failure at linkDebugFrameworkIosArm64. More details in 🧵
l
m
  • 2
  • 5
  • 348
I need the behaviour of `Modifier.clipToBounds()`, but not on all children of the layout. Is it poss...
m

Marcin Wisniowski

about 1 year ago
I need the behaviour of
Modifier.clipToBounds()
, but not on all children of the layout. Is it possible to apply this effect for only some children, or have some of them ignore it? I want to clip all children to the bounds of the parent, but still allow a particular child to go outside.
m
z
+2
  • 4
  • 31
  • 348
Does anyone know if `ModalBottomSheetLayout` will be ported to `Material3`? The `Material3` `ModalBo...
l

Lucas Kivi

over 1 year ago
Does anyone know if
ModalBottomSheetLayout
will be ported to
Material3
? The
Material3
ModalBottomSheet
has some limitations that make it unusable for me. I either need to hack up the
BottomSheetScaffold
or use the
Material
ModalBottomSheetLayout
and suppress the
UsingMaterialAndMaterial3Libraries
warning.
⌚ 2
l
j
  • 2
  • 6
  • 348
Hi, has anyone seen this error message before? ```error message: java.lang.NoClassDefFoundError: org...
c

CLOVIS

about 2 years ago
Hi, has anyone seen this error message before?
error message: java.lang.NoClassDefFoundError: org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowInfo (initialization failure)
        at java.base/java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:156)
        at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer.analyzeDeclarations$default(LazyTopDownAnalyzer.kt:61)
        at org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(TopDownAnalyzerFacadeForJVM.kt:119)
        ...
Caused by: java.lang.NoClassDefFoundError: javaslang.λ
        at java.base/java.lang.ClassLoader.defineClassImpl(Native Method)
        ...
Caused by: java.lang.ClassNotFoundException: javaslang.λ
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:827)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1095)
        ... 74 more
I've seen it on a MacOS running Gradle 7.2 and 8.3, it happens when compiling
buildSrc
. After deleting
~/.gradle
, the project works well, so I don't really have anything to reproduce with to create an issue. If there is already an issue somewhere, maybe I can add some information to it?
c
v
  • 2
  • 1
  • 348
Hello, how do I effectively mockk a value class?
m

Michael de Kaste

over 3 years ago
Hello, how do I effectively mockk a value class?
m
e
  • 2
  • 6
  • 348
Hey, how exactly can you include images? using ```dokkaSourceSets.configureEach { includes.from(...
h

hfhbd

over 4 years ago
Hey, how exactly can you include images? using
dokkaSourceSets.configureEach {
    includes.from("README.md", "docImages/")
}
requires to create a folder
docImages
in every module...
h
m
  • 2
  • 12
  • 348
Does kotlin have any way to generate random unique id in compile time. I mean id is random, but is c...
a

Andrey Stepankov

over 5 years ago
Does kotlin have any way to generate random unique id in compile time. I mean id is random, but is const for runtime? So i can write compiler plugin, but may be community already has solution. For example: // sourse fun a(): String = CompileTimeId.nextId() // compiled code fun a(): String = "hdhdjdnwld"
a
c
s
  • 3
  • 26
  • 348
In Android, what is the difference between `testDebugUnitTest` and `testReleaseUnitTest`? Afaik you ...
u

ursus

almost 6 years ago
In Android, what is the difference between
testDebugUnitTest
and
testReleaseUnitTest
? Afaik you cannot run unit tests on a proguared release etc.?
u
t
  • 2
  • 10
  • 348
KotlinConf 2026: Munich :tada:
h

hfhbd

6 months ago
KotlinConf 2026: Munich 🎉
😢 2
🍻 12
🎉 30
kodee happy 0
h
j
+5
  • 7
  • 19
  • 347
Heyya! Does anyone know if/how I can store data on web browser using wasmJs? Either a DB or a JSON f...
o

Orfeo Ciano

about 1 year ago
Heyya! Does anyone know if/how I can store data on web browser using wasmJs? Either a DB or a JSON file would be more than enough for me.
👀 1
o
a
+4
  • 6
  • 19
  • 347
Previous198199200Next

kotlinlang

A modern programming language that makes developers happier.

Powered by