https://kotlinlang.org
Join Slack
What can I do if I need to put a `lazycolumn` inside a `lazycolumn`? I'm getting this error: Illegal...
p

Pablo

about 1 year ago
What can I do if I need to put a
lazycolumn
inside a
lazycolumn
? I'm getting this error: > IllegalStateException: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed. I know that as doc says (https://developer.android.com/develop/ui/compose/lists#avoid-nesting-scrollable), we must avoid nesting components scrollable in the same direction. But my app is an special app, like an "app constructor" in which the user can construct an app using different types of items, for example: texts, images, vertical scroll containers (
lazycolumns
), horizontal scroll containers (
lazyrows
), etc and for example, the user is free to put a vertical scroll, with some text and an horizontall scroll, and that horizontal scroll can have a verticall scroll inside. I need to know how to achieve this
p
s
s
  • 3
  • 61
  • 392
Hi guys, I’m pleased to share with you FileKit :smile: FileKit is a Files, Medias, Folder Picker an...
v

Vincent

over 1 year ago
Hi guys, I’m pleased to share with you FileKit 😄 FileKit is a Files, Medias, Folder Picker and File saver library for Kotlin Multiplatform and Compose Multiplatform • Multiplatform: Android, iOS, macOS, JVM, WASM and Js • Native: it uses the native UI on each platform • Lightweight: it depends on the bare minimum dependencies as possible • Media picker: takes advantage of the media picker feature on Android and iOS • Easy to use: pick a file with a single line of code and get information about it from common code • Customizable: choose files by type, filter by extensions, customize initial directory and much more Get started here: https://github.com/vinceglb/FileKit Thank you ❤️
🔥 14
K 3
❤️ 2
K 32
🐕 11
v
u
+3
  • 5
  • 16
  • 391
Is it possible to disable close by drag gesture in the `ModalBottomSheet`? I want to put a long scro...
e

electrolobzik

almost 2 years ago
Is it possible to disable close by drag gesture in the
ModalBottomSheet
? I want to put a long scrollable document in the bottom sheet and it closes instead of scrolling.
e
m
r
  • 3
  • 5
  • 391
How to understand Compose lerp function?
j

jerry ch

over 2 years ago
How to understand Compose lerp function?
same 1
j
a
  • 2
  • 2
  • 391
Is there a way to hide the selection handle that appears on a `TextField` ? I basically want the `Te...
o

okaymak

about 3 years ago
Is there a way to hide the selection handle that appears on a
TextField
? I basically want the
TextField
to be just for input and without selection, magnifier, copy or paste.
o
s
a
  • 3
  • 10
  • 391
Is there a way to parse a string to Color in Compose? :thinking_face:
a

Ali Albaali

about 5 years ago
Is there a way to parse a string to Color in Compose? 🤔
a
p
k
  • 3
  • 2
  • 391
any easy way to increment a value of a key in map? even if the mapping does not exist yet?
p

poohbar

almost 7 years ago
any easy way to increment a value of a key in map? even if the mapping does not exist yet?
p
s
k
  • 3
  • 3
  • 391
I've been experimenting with the new `GraphicsLayer API` and found it quite helpful. It allowed me t...
s

Sergey Y.

over 1 year ago
I've been experimenting with the new
GraphicsLayer API
and found it quite helpful. It allowed me to implement a rendering optimization trick. However, I've encountered some challenges that I'm hoping to get some advice on. Specifically, I'm looking for a way to create an
android.graphics.Picture
from a graphics layer. For all the details, please check the full thread 🧵.
GraphicsLayerPicture(val graphicsLayer: GraphicsLayer) : Picture()
Solved ✅
s
a
+3
  • 5
  • 46
  • 390
Hello! I am trying to use `FilterChip` compose component from `material3` <https://developer.android...
f

francisco

almost 3 years ago
Hello! I am trying to use
FilterChip
compose component from
material3
library. My design system calls for a chip with
12.dp
horizontal padding and
8.dp
vertical padding. I see that the component itself has a private function
ChipContent
which sets a private property for
paddingValues
which hard codes padding at
8.dp
I’ve tried setting padding values via
Modifier
property, but that sets padding outside the chip, not within the content. Is my only solution to rollout my own custom chip component? Is there a way to ask for a feature request for m3 to allow us to have our own custom padding?
f
i
  • 2
  • 2
  • 390
What would be the recommended way to serialize/deserialize money amounts? I'm getting a decimal amou...
m

Martin Gaens

over 3 years ago
What would be the recommended way to serialize/deserialize money amounts? I'm getting a decimal amount of money from an API and
BigDecimal
doesn't have a default serializer. Is the best thing to do creating a serializer for
BigDecimal
?
m
e
  • 2
  • 5
  • 390
Previous173174175Next

kotlinlang

A modern programming language that makes developers happier.

Powered by