https://kotlinlang.org
Join Slack
Anybody know how to show an empty state view if PagingData has empty items? I can't seem to check th...
i

Isaac

over 5 years ago
Anybody know how to show an empty state view if PagingData has empty items? I can't seem to check the size of the items in PagingData
i
d
  • 2
  • 4
  • 374
Is it possible to initialize values in ViewModel from values retrieved from proto datastore ?
e

ElawsDev

over 1 year ago
Is it possible to initialize values in ViewModel from values retrieved from proto datastore ?
not kotlin but kotlin colored 2
e
j
d
  • 3
  • 4
  • 373
Is there still no multiplatform WeakReference?
c

CLOVIS

over 2 years ago
Is there still no multiplatform WeakReference?
c
e
  • 2
  • 5
  • 373
What would be the best way to react to `mutableStateListOf` changes in effects? Say, I have `Parent`...
k

krzysztof

over 3 years ago
What would be the best way to react to
mutableStateListOf
changes in effects? Say, I have
Parent
which has state
remember { mutableStateListOf<Int>() }
which can be changed by one of its children.
Parent
also has an effect (let’s say
DisposableEffect
) reading changes to the list, like
DisposableEffect(list){/* ... */}
. But that effect won’t be called more than once, because
list
won’t change instance (
SnapshotStateList
), even if items are added.
k
s
+2
  • 4
  • 19
  • 373
Does anyone know how to get rid of these errors? :thinking_face: ```The /home/mira/.konan/dependenci...
m

Miroslav Sobotka

about 4 years ago
Does anyone know how to get rid of these errors? 🤔
The /home/mira/.konan/dependencies/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2/x86_64-unknown-linux-gnu/bin/ld.gold command returned non-zero exit code: 1.
output:
/usr/lib64/libpipewire-0.3.so: error: undefined reference to 'fcntl64', version 'GLIBC_2.28'
/usr/lib64/libpipewire-0.3.so: error: undefined reference to 'memfd_create', version 'GLIBC_2.27'
/usr/lib64/libpipewire-0.3.so: error: undefined reference to 'stat64', version 'GLIBC_2.33'
/usr/lib64/libpipewire-0.3.so: error: undefined reference to 'getrandom', version 'GLIBC_2.25'
/usr/lib64/libpipewire-0.3.so: error: undefined reference to 'fstat64', version 'GLIBC_2.33'
m
n
  • 2
  • 7
  • 373
Hey guys, is there any equivalent of `@TestOnly` or `@VisibleForTesting` annotations for K/Mp out th...
j

Jan Stoltman

about 6 years ago
Hey guys, is there any equivalent of
@TestOnly
or
@VisibleForTesting
annotations for K/Mp out there?
j
a
+2
  • 4
  • 7
  • 373
Why does the Kotlin Multiplatform in Android Studio require the `com.intellij.marketplace` plugin to...
j

jQrgen

about 2 months ago
Why does the Kotlin Multiplatform in Android Studio require the
com.intellij.marketplace
plugin to be installed?
j
z
s
  • 3
  • 38
  • 372
I've found a couple of issues with `LazyRow` and `stickyHeader`. 1. If the header is vertically hig...
d

Daniele Segato

over 3 years ago
I've found a couple of issues with
LazyRow
and
stickyHeader
. 1. If the header is vertically higher than the content the
LazyRow
change height when the sticky header item would scroll out of view. 2. if the
LazyRow
has
contentPadding
this is ignored for the
stickyHeader
, I would expect the sticky header to snap in a position that respect content paddding. are these 2 issues know? should I open 2 but reports? I assume these 2 issues translates equally with
LazyColumn
👍 0
➕ 2
d
s
+2
  • 4
  • 8
  • 372
If you're not yet using Koin Annotations, it's quite simple and makes life easier :slightly_smiling_...
j

Jacob Ras

over 1 year ago
If you're not yet using Koin Annotations, it's quite simple and makes life easier 🙂. I wrote an article on how to set it up and how the annotations work: https://medium.com/@jacobras/migrating-to-koin-annotations-in-a-multiplatform-project-1e83ba3b5988
👍🏽 1
koinscroll 2
🔥 4
👍 1
🎉 0
jam 1
j
c
+5
  • 7
  • 29
  • 372
Hi, is it possible to create combinations of string resources in ViewModel() before sending them to ...
e

ElawsDev

over 1 year ago
Hi, is it possible to create combinations of string resources in ViewModel() before sending them to the UI ? I'm struggling with a trivial usecase, presented in the following message (thread) in a simplified way. I'm new to this and went through most of Android Basics for Jetpack Compose. edit : (what does the "thread-please" emoji means ? I moved most of the content of this post to a reply in the thread and still got a second "thread-please" emoji afterwards)
🧵 2
not kotlin but kotlin colored 2
e
a
c
  • 3
  • 26
  • 372
Previous183184185Next

kotlinlang

A modern programming language that makes developers happier.

Powered by