https://kotlinlang.org
Join Slack
How can the parent composable communicate events to the child composable? For example, I want to scr...
a

allan.conda

almost 3 years ago
How can the parent composable communicate events to the child composable? For example, I want to scroll-to-top the start destination when the bottom bar is tapped.
a
y
+2
  • 4
  • 6
  • 771
hi, is there an alternative of @synchronized in kmm?
n

nikhil kumar

over 3 years ago
hi, is there an alternative of @synchronized in kmm?
n
m
+2
  • 4
  • 9
  • 771
Seeing a crash related to compose not finding viewTreeLifecycleOwner, full stack trace in thread
s

Scott Kruse

over 3 years ago
Seeing a crash related to compose not finding viewTreeLifecycleOwner, full stack trace in thread
s
z
  • 2
  • 6
  • 770
Hi guys, is there a multiplatform library for a KMP app for push notifications for iOS and Android? ...
b

Bob Kuhl

almost 2 years ago
Hi guys, is there a multiplatform library for a KMP app for push notifications for iOS and Android? Something that has both common code and the platform specific code all in one?
b
j
  • 2
  • 2
  • 769
Hi, is anyone else getting a lot of warnings in their iOS build after updating from Kotlin 1.7.10 to...
s

Seb Jachec

almost 3 years ago
Hi, is anyone else getting a lot of warnings in their iOS build after updating from Kotlin 1.7.10 to 1.7.20? In both Xcode 14.0 & 14.1b3, simulator or device, our build is totally cluttered with over 3,000 warnings in the format
(arm64) could not find object file symbol for symbol ...
after changing version. Seems like most relate to iOS code written in Kotlin, or 3rd party dependencies (Okio, SQLDelight, Koin, Apollo, NSExceptionKt).
👀 2
s
r
+4
  • 6
  • 21
  • 769
Hi ! Is there any reliable way to create a zip from a folder ? I've seen 5 pages from StackOverflow ...
a

Ayfri

over 2 years ago
Hi ! Is there any reliable way to create a zip from a folder ? I've seen 5 pages from StackOverflow and tried all the examples listed and I still come up with a zip that doesn't work with Minecraft because Minecraft is extremely strict with Zip files :/
a
j
+2
  • 4
  • 28
  • 769
hi all, i am using issue integrating sqldelight with KMM with ``app.cash.sqldelight:sqlite-3-38-dial...
b

brabo-hi

about 3 years ago
hi all, i am using issue integrating sqldelight with KMM with ``app.cash.sqldelightsqlite 3 38 dialect2.0.0-alpha02``, it is working for android, but not for the ios
b
k
  • 2
  • 10
  • 769
I’ve added nested navigation to my app and everything is working great except this one scenario. We ...
j

Joseph Hawkes-Cates

over 2 years ago
I’ve added nested navigation to my app and everything is working great except this one scenario. We have a need to open internal deeplinks from a Uri that we get from our backend. The destination for this deeplink is defined within a nav graph in our nav host. When we open a deeplink from outside the app, the backstack looks like this:
root > destination nav graph (ng1) > Start destination (A) > deeplink destination (B)
. When I use
navController.navigation(deeplink=uri)
with navOptions to popUpTo the root nav graph,
A
is not inserted into the backstack behind
B
like it is with the external deeplinks.
👀 1
j
m
+2
  • 4
  • 28
  • 768
What is `symbol multiply defined!` ? and how can i resolve this ? I am using a pod in a `library pr...
a

Anmol Verma

over 2 years ago
What is
symbol multiply defined!
? and how can i resolve this ? I am using a pod in a
library project A
and now i have declared the pod in my
Main Project
which uses this
library A
so that the framework is found in the runtime but the compilation fails with the following
Compilation failed: Linking globals named 'knifunptr_cocoapods_GRPCClient8_TransportIDIsEqual': symbol multiply defined!
a
k
  • 2
  • 6
  • 768
I’m attempting to read a file in a Kotlin multiplatform unit test. I don’t have the absolute path to...
j

jessewilson

almost 3 years ago
I’m attempting to read a file in a Kotlin multiplatform unit test. I don’t have the absolute path to the file, but I do know it relative to my project directory. When I run the test on JVM or macosArm64, the process' current working directory (CWD) is the project directory so everything is easy. But when I run the test on a simulator, the CWD is
~/Library/Developer/CoreSimulator/Devices/C641A553-AA3D-4FAD-4AE-8BDD0E346C5D/data
. Anyone know of a way to recover the project directory when running a test in a simulator?
j
l
+3
  • 5
  • 22
  • 767
Previous616263Next

kotlinlang

A modern programming language that makes developers happier.

Powered by