https://kotlinlang.org
Join Slack
hi guys, i am getting ```finishConnect(..) failed: Connection refused: /[0:0:0:0:0:0:0:1]:80; nested...
g

George

over 3 years ago
hi guys, i am getting
finishConnect(..) failed: Connection refused: /[0:0:0:0:0:0:0:1]:80; nested exception is io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: /[0:0:0:0:0:0:0:1]:80
org.springframework.web.reactive.function.client.WebClientRequestException: finishConnect(..) failed: Connection refused: /[0:0:0:0:0:0:0:1]:80; nested exception is io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: /[0:0:0:0:0:0:0:1]:80
from a rather simple springboot-kotlin code. Has anyone encountered this? Thanks in advance 🙂
g
c
  • 2
  • 4
  • 1652
is there something like `clipToPadding = false` in Compose that avoids a LazyRow getting cut off by ...
f

Florian

over 4 years ago
is there something like
clipToPadding = false
in Compose that avoids a LazyRow getting cut off by the container's padding?
f
s
c
  • 3
  • 5
  • 1638
What is the current take on Kotlin's native Result vs eg Arrow Either/Try? I've used Either/Try in ...
f

Fred Friis

almost 3 years ago
What is the current take on Kotlin's native Result vs eg Arrow Either/Try? I've used Either/Try in my previous team, about to join a team that prefer using Result instead. They seem kinda similar to me (Result needs throwables as errors which is a bit different but whatever) but then there are people that claim that Kotlin devs themselves advocate against using Result in your business code as it will catch all exceptions, which isn't really desirable (see https://stackoverflow.com/questions/70847513/when-and-how-to-use-result-in-kotlin)
f
s
+3
  • 5
  • 56
  • 1636
using `Map` like: `mutableStateOf(map)` and reassigning that `Map` doesn’t trigger recomposition? h...
m

Marko Novakovic

about 4 years ago
using
Map
like:
mutableStateOf(map)
and reassigning that
Map
doesn’t trigger recomposition? how can I approach this?
m
t
+3
  • 5
  • 14
  • 1629
Is there a date picker for compose multiplatform that works for both platforms (android,ios)
e

Emmanuel Mtera

almost 2 years ago
Is there a date picker for compose multiplatform that works for both platforms (android,ios)
e
d
+2
  • 4
  • 7
  • 1609
Is this the idiomatic way to do debounce for a text field? I suck with flows and just want to make s...
c

Colton Idle

about 3 years ago
Is this the idiomatic way to do debounce for a text field? I suck with flows and just want to make sure I'm not shooting myself in the foot.
class VM : ViewModel() {
    val text = MutableStateFlow("")
    val dbText = text.debounce(2000).distinctUntilChanged().flatMapLatest { (it) }

    private fun queryFromDb(query: String): Flow<String> {
        ...
    }
}
c
c
+3
  • 5
  • 38
  • 1609
getting ```xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH``` whi...
s

Sourabh Rawat

almost 6 years ago
getting
xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
while running
gradle clean check.
What am I missing? I want to run tests in
ktor-client-tests
.
s
s
  • 2
  • 2
  • 1584
Hi there, is there a way to convert Bitmap into ImageBitmap ? I would like to use the Image composab...
m

MaxUt

over 4 years ago
Hi there, is there a way to convert Bitmap into ImageBitmap ? I would like to use the Image composable to display images that are stored locally. My idea was to use
BitmapFactory.decodeFile(MY_FILE_PATH)
to convert the images into Bitmap first and then from Bitmap to ImageBitmap
m
n
+3
  • 5
  • 15
  • 1582
I'm trying to update to kotlin 2.0 but our project has -Werror enabled and so we get: ```w: Kapt cu...
z

zsperske

over 1 year ago
I'm trying to update to kotlin 2.0 but our project has -Werror enabled and so we get:
w: Kapt currently doesn't support language version 2.0+. Falling back to 1.9.
e: warnings found and -Werror specified
Is there any way around this?
z
d
  • 2
  • 2
  • 1577
Hello everyone, I want to achieve sticky footer using jetpack compose like in screenshot. A is scrol...
p

Pardip

almost 4 years ago
Hello everyone, I want to achieve sticky footer using jetpack compose like in screenshot. A is scrollable list of row items. When A is smaller than screen(or parent) size, B (footer) should be placed bellow the last row. When A+B are bigger than screen size, then B becomes fixed at the bottom and A content is scrollable. I’m wondering if there is easy way to achieve this, using compose ConstraintLayout.
p
t
  • 2
  • 1
  • 1577
Previous171819Next

kotlinlang

A modern programming language that makes developers happier.

Powered by