https://kotlinlang.org
Join Slack
Hi guys, my Android Studio show message “Compose inspection is not available”. How to fix that? I wa...
p

PhongBM

almost 3 years ago
Hi guys, my Android Studio show message “Compose inspection is not available”. How to fix that? I want to use Compose Layout Inspector tab
p
y
  • 2
  • 3
  • 309
Has anyone had any luck embedding compose in a Flutter application? Trying to sneak in a cheeky bit ...
c

czuckie

about 3 years ago
Has anyone had any luck embedding compose in a Flutter application? Trying to sneak in a cheeky bit in an AlertDialog via a
ComposeView()
but getting:
java.lang.IllegalStateException: ViewTreeLifecycleOwner not found from androidx.appcompat.widget.AlertDialogLayout
🤯 1
c
i
a
  • 3
  • 8
  • 309
Does `fillMaxSize` not work if the container is scrollable?
f

Florian

over 4 years ago
Does
fillMaxSize
not work if the container is scrollable?
f
d
+3
  • 5
  • 20
  • 309
Is it possible to have multibinding with Koin as intoMap or intoSet functionalities like in Dagger2?
y

yahyabayramoglu

over 6 years ago
Is it possible to have multibinding with Koin as intoMap or intoSet functionalities like in Dagger2?
y
a
  • 2
  • 8
  • 309
Hello, Has anybody run into the navigation-compose problem with hiltViewModel() ? I think it's all a...
i

Imany

8 months ago
Hello, Has anybody run into the navigation-compose problem with hiltViewModel() ? I think it's all about dependencies.
not kotlin but kotlin colored 2
i
l
+3
  • 5
  • 28
  • 308
Hello all, working on a project to scan QR using compose multiplatform in iOS. The scanner works fi...
s

Sreeramktm 27

over 2 years ago
Hello all, working on a project to scan QR using compose multiplatform in iOS. The scanner works fine, but for some reason I am not receiving any callbacks from captureOutput even though i point the scanner right at the QR. Like the callbacks are received and suddenly it stops. Any idea why this issue is happening?
🧵 1
👍 1
s
t
h
  • 3
  • 10
  • 308
I want to define a Gradle Plugin inside my `build-logic` that applies the Jetbrains Compose librarie...
k

kotlinforandroid

almost 2 years ago
I want to define a Gradle Plugin inside my
build-logic
that applies the Jetbrains Compose libraries. But trying it this way results in an error. There is no
KotlinMultiplatformExtension#compose
property available.
class KmpComposePlugin : Plugin<Project> {
    override fun apply(target: Project) {
        with(target) {
            with(pluginManager) {
                apply("kmp")
                apply("org.jetbrains.compose")
            }

            val extension = extensions.getByType<KotlinMultiplatformExtension>()
            with(extension) {
                jvm()

                sourceSets.commonMain.dependencies {
                    implementation(this@with.compose.runtime)
                }
            }
        }
    }
}
✅ 1
k
c
+3
  • 5
  • 13
  • 308
What is the current estimated timeframe for Arrow 2.0? I'm soon-ish going to be releasing a small li...
c

CLOVIS

almost 3 years ago
What is the current estimated timeframe for Arrow 2.0? I'm soon-ish going to be releasing a small library that extends Arrow and it would be a shame to have a breaking change right after 1.0 😅
c
r
f
  • 3
  • 6
  • 308
Does Kotlin/Wasm provide APIs to deal with Wasm memory, import, exports? My use case would be to exp...
s

sdeleuze

almost 3 years ago
Does Kotlin/Wasm provide APIs to deal with Wasm memory, import, exports? My use case would be to experiment on Kotlin/Wasm support in WIT bindgen, taking inspiration from the work already done on Java via the TeaVM WASI fork (demo: https://bytecodealliance.github.io/wit-bindgen/).
👀 1
👍 2
s
s
  • 2
  • 43
  • 308
What is the proper way of showing/hiding a composable, but keeping its space so the layout doesn’t c...
m

myanmarking

almost 4 years ago
What is the proper way of showing/hiding a composable, but keeping its space so the layout doesn’t change? Currently, as the composable is selectable, i am using .alpa(if(show 1f else 0f) which works, but i feel there must be a better way
m
v
+5
  • 7
  • 17
  • 308
Previous227228229Next

kotlinlang

A modern programming language that makes developers happier.

Powered by