https://kotlinlang.org
Join Slack
How do you mock `rememberLauncherForActivityResult` in Compose? With `registerForActivityResult` you...
p

Philip S

over 4 years ago
How do you mock
rememberLauncherForActivityResult
in Compose? With
registerForActivityResult
you could send in a
registry
parameter to prevent the real implementation from being called in UI-tests. However this is missing for the Compose equivalent.
p
n
i
  • 3
  • 9
  • 572
hi folks, How can i make a fullscreen view .. i have remove the .ignoreSafeare() but there’s still w...
a

Angga Ardinata

about 2 years ago
hi folks, How can i make a fullscreen view .. i have remove the .ignoreSafeare() but there’s still white area at the top
a
j
+2
  • 4
  • 19
  • 571
Hi, I'm currently trying to use MobileVLCKit in my compose multiplatform project. When I try to bu...
j

Jimmy Nelle

over 1 year ago
Hi, I'm currently trying to use MobileVLCKit in my compose multiplatform project. When I try to build it for iOS I'm getting the following issue:
* What went wrong:
'embedAndSign' task can not be used in a project with dependencies to pods.
Please use CocoaPods for integration into Xcode.
Does anyone know how to fix it?
j
a
  • 2
  • 3
  • 570
I tried using explicit backing field declarations in a project using Kotlin 2.0.0, but I get the err...
e

eygraber

over 1 year ago
I tried using explicit backing field declarations in a project using Kotlin 2.0.0, but I get the error
Explicit backing field declarations are not supported in FE 1.0
val foo: List<String>
    field mFoo = MutableList<String>()
e
d
  • 2
  • 4
  • 570
Compose Desktop running on GraalVM <https://twitter.com/patrikord/status/1646091213085503488>
s

SrSouza

over 2 years ago
Compose Desktop running on GraalVM https://twitter.com/patrikord/status/1646091213085503488
👍 1
😮 4
graalvm 8
🔥 20
s
s
+5
  • 7
  • 13
  • 570
Is there any way to ignore certain `LazyColumn` items when applying a `verticalArrangement`? More de...
e

eygraber

over 2 years ago
Is there any way to ignore certain
LazyColumn
items when applying a
verticalArrangement
? More details in 🧵
e
s
  • 2
  • 7
  • 570
I've started getting with the last couple (5.5.4 and 5.5.5) versions of kotest. ```[4.128s][warning]...
b

Brent Beardsley

almost 3 years ago
I've started getting with the last couple (5.5.4 and 5.5.5) versions of kotest.
[4.128s][warning][gc,alloc] ClassGraph-worker-16: Retried waiting for GCLocker too often allocating 1026 words

UnknownClass.Kotest > UnknownClass.initializationError FAILED
    org.junit.platform.commons.JUnitException at EngineExecutionOrchestrator.java:113
        Caused by: io.kotest.engine.config.ConfigurationException at ConfigManager.kt:29
            Caused by: io.github.classgraph.ClassGraphException at ClassGraph.java:1606
                Caused by: java.lang.OutOfMemoryError at NestedJarHandler.java:654

UnknownClass.Kotest FAILED
If I keep re-running it eventually works. Is there a kotest leak? Or am I missing some kotest setting or is there something else I should be modifying? thx
b
e
r
  • 3
  • 3
  • 570
Has anyone used `JDBI` with Kotlin? I have been trying for several hours but couldn't even get a bas...
n

nilTheDev

about 4 years ago
Has anyone used
JDBI
with Kotlin? I have been trying for several hours but couldn't even get a basic
SELECT
statement working. Any assistance would be really helpful. https://stackoverflow.com/questions/69681588/nosuchmethodexception-in-jdbi-while-using-it-with-kotlin
n
s
m
  • 3
  • 8
  • 570
how to convert ```task buildZip(type: Zip) { from compileJava from processResources ...
i

isto

about 3 years ago
how to convert
task buildZip(type: Zip) {
    from compileJava
    from processResources              
    into('lib') {
        from configurations.runtime
    }
}
into kotlin? There are many examples related to file copying but I have trouble finding info on how to refer to
compileJava
and
processResources
in kts
i
j
  • 2
  • 4
  • 569
Does Exposed support one-to-many relationships?
d

ddsoyka

about 8 years ago
Does Exposed support one-to-many relationships?
d
t
  • 2
  • 1
  • 569
Previous108109110Next

kotlinlang

A modern programming language that makes developers happier.

Powered by