https://kotlinlang.org
Join Slack
How can I avoid recomposition of certain areas of a screen? In my example I use an AndroidView (to s...
t

Tobias Gronbach

over 3 years ago
How can I avoid recomposition of certain areas of a screen? In my example I use an AndroidView (to show diagrams) and also I display some Dialogs depending on the ScreenState. Everytime a dialog is shown or hidden the AndroidView gets recomposed. How can I avoid it? Is it possible to scope recomposition only to specific states?
t
m
r
  • 3
  • 35
  • 1300
Will Apple let KMM succeed? Effectively, Multiplatform Compose and KMM will make iOS Developers, XCo...
i

Igor Bozin

almost 3 years ago
Will Apple let KMM succeed? Effectively, Multiplatform Compose and KMM will make iOS Developers, XCode or Swift obsolete. So, what is in it for them? And what guarantees the Kotlin Multiplatform approach will be possible to be used for development in 2-3 years?
i
c
+8
  • 10
  • 108
  • 1298
what's the right way to change the TopAppBar title (or any other prop for that matter) dynamically f...
o

oday

almost 2 years ago
what's the right way to change the TopAppBar title (or any other prop for that matter) dynamically from each screen? So right now I have 1 Scaffold which use and inside is the NavHost, passed to each
composable
inside is
scaffoldState
where I go
scaffoldstate.value.title = { Text("Screen A" }
and the primary Scaffold just populates its own topAppBar with MyAppBar(title = scaffoldState.title) but this causes a lot of jank when switching between bottom bar destinations and sometimes one screen ends up with the title of the other and it's just bad having 2 Scaffolds causes a visual effect where you can see them being swapped out, Now In Android does it really well but the code is so convoluted I couldn't really pin down even where the switch was happening
o
y
f
  • 3
  • 16
  • 1297
Are there plans from JetBrains for a multiplatform crypto library? Iirc it was one of the most upvot...
b

benkuly

over 3 years ago
Are there plans from JetBrains for a multiplatform crypto library? Iirc it was one of the most upvoted features here in slack, when someone from JetBrains asked for missing features.
👍 1
➕ 1
b
o
z
  • 3
  • 10
  • 1297
Hello! I am trying to load a layer-list drawable with this code: ```Image( painter = painterReso...
v

Vaios Tsitsonis

over 3 years ago
Hello! I am trying to load a layer-list drawable with this code:
Image(
    painter = painterResource(id = someId),
    contentDescription = null
)
but i get this error:
Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG
. I can load vector drawables so I suppose that I need to load layer-list differently... How is this possible?
v
m
+2
  • 4
  • 7
  • 1297
Hey guys, I wrote a guide how to setup firebase on iOS and Android using KMP as I've struggle to fin...
h

Hristijan

over 1 year ago
Hey guys, I wrote a guide how to setup firebase on iOS and Android using KMP as I've struggle to find a guide online that helped me do that https://funkymuse.dev/posts/kmp-firebase/ Hope it helps you too
👍 4
👍🏻 1
h
a
+4
  • 6
  • 8
  • 1292
How can I disable `HorizontalPager` scroll (via `userScrollEnabled`) when the user started a `LazyCo...
s

ste

over 3 years ago
How can I disable
HorizontalPager
scroll (via
userScrollEnabled
) when the user started a
LazyColumn
scroll (and vice versa)? Do I need to write a complex
NestedScrollConnection
?
untitled.webm
s
c
  • 2
  • 11
  • 1290
What is `iosX64()` for? Are there some x64 ios devices? I though it was all arm always?
u

ursus

almost 3 years ago
What is
iosX64()
for? Are there some x64 ios devices? I though it was all arm always?
u
a
+3
  • 5
  • 17
  • 1289
Hi People! How do you load image resources in your compose ios app ?
a

Anmol Verma

about 3 years ago
Hi People! How do you load image resources in your compose ios app ?
a
m
  • 2
  • 19
  • 1289
is there any way to disable paste on a TextField?
m

myanmarking

almost 4 years ago
is there any way to disable paste on a TextField?
m
c
o
  • 3
  • 3
  • 1288
Previous262728Next

kotlinlang

A modern programming language that makes developers happier.

Powered by