https://kotlinlang.org
Join Slack
xcode cannot build release scheme Could not find "co.touchlab:stately-common" in [/Users/ggg/Desktop...
p

pers

about 2 years ago
xcode cannot build release scheme Could not find "co.touchlab:stately-common" in [/Users/ggg/Desktop/main/bas-ios_main/Pods, /Users/ggg/.konan/klib, /Users/ggg/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.0/klib/common, /Users/ggg/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.0/klib/platform/ios_arm64]
p
a
+3
  • 5
  • 15
  • 465
Cannot locate tasks that match ':composeApp:compileJava' as task 'compileJava' is ambiguous in proje...
a

Amanata Nayak

about 2 years ago
Cannot locate tasks that match 'composeAppcompileJava' as task 'compileJava' is ambiguous in project ':composeApp'. Candidates are: 'compileDebugAndroidTestJavaWithJavac', 'compileDebugJavaWithJavac', 'compileDebugUnitTestJavaWithJavac', 'compileReleaseJavaWithJavac', 'compileReleaseUnitTestJavaWithJavac'.
a
c
  • 2
  • 8
  • 465
Is there an easy way to ignore safe area for only some of the elements (i.e. observe safe area inset...
a

Albert Chang

over 2 years ago
Is there an easy way to ignore safe area for only some of the elements (i.e. observe safe area insets in compose)?
a
a
d
  • 3
  • 5
  • 465
any ideas on how to implement a fading edge (the items fade way in the edge) into a lazy column with...
m

mgrazianodecastro

almost 3 years ago
any ideas on how to implement a fading edge (the items fade way in the edge) into a lazy column with transparent background?
m
a
  • 2
  • 3
  • 465
Is it possible to use pure sockets with kotlin-native? Normal client socket. After some searching it...
e

eirikb

over 4 years ago
Is it possible to use pure sockets with kotlin-native? Normal client socket. After some searching it seems my best bet is ktor-network, but I'm not quite able to get the example to run. At the moment it's stuck at not being able to resolve "ActorSelectorManager". Could be it's Android-specific? I got a normal console app
e
m
+2
  • 4
  • 63
  • 465
How can I convert a string from hh:mm:ss to hours in double? string “00:20:00” expected result 0.3...
m

Milo

about 3 years ago
How can I convert a string from hhmmss to hours in double? string “002000” expected result 0.333333333333333 string “010000" expected result 1
K 1
😶 2
m
f
  • 2
  • 8
  • 464
How can I use gzip for ktor-client POST requests (not response)? ktolin 1.4.10, ktor 1.4.1, native/c...
a

aleksey.tomin

about 5 years ago
How can I use gzip for ktor-client POST requests (not response)? ktolin 1.4.10, ktor 1.4.1, native/curl I’ve added
ContentEncoding {
            gzip()
        }
But the server team says that request body not in gzip.
a
a
  • 2
  • 4
  • 464
When using Jetpack Compose Navigation by Google, if the routes are classes/data classes -> How do I ...
a

Alex

over 1 year ago
When using Jetpack Compose Navigation by Google, if the routes are classes/data classes -> How do I check if the current
NavBackStackEntry
matches one of my Route definitions (the data classes that I have pushed into Jetpack Compose Navigation via
navController.navigate(route)
? For example: I navigated to
data class SomeRoute(val parameter: String)
and now I want to return
true
if the current
NavBackStackEntry
corresponds to
SomeRoute("hello")
👍 1
a
s
  • 2
  • 20
  • 463
Has anyone encountered this issue? I'm trying to do ` ```composeView.setContent { Text(text = "W...
a

Adib Faramarzi

over 4 years ago
Has anyone encountered this issue? I'm trying to do `
composeView.setContent {
    Text(text = "WELCOME TO COMPOSE!")
}
and I get a runtime error
java.lang.NoSuchMethodError: No virtual method setContent(Lkotlin/jvm/functions/Function0;)V in class Landroidx/compose/ui/platform/ComposeView; or its super classes (declaration of 'androidx.compose.ui.platform.ComposeView' appears in /data/app/taxi.tap30.passenger.debug--kKKwSbfzrf377VbKRnzSQ==/base.apk)
a
c
+9
  • 11
  • 37
  • 463
hey guys, am i the only one getting `java.lang.IllegalStateException: CompositionLocal LocalLifecyc...
h

Hristijan

over 1 year ago
hey guys, am i the only one getting
java.lang.IllegalStateException: CompositionLocal LocalLifecycleOwner not present
trying to use
androidx.lifecycle.compose.LocalLifecycleOwner.current
in a KMP environment, lifecycle version 2.8.0-alpha04
h
p
  • 2
  • 4
  • 463
Previous143144145Next

kotlinlang

A modern programming language that makes developers happier.

Powered by