https://kotlinlang.org
Join Slack
Is there a way to get the "frosted glass" blur effect in Android 11 and lower in compose? <https://...
c

Colton Idle

about 4 years ago
Is there a way to get the "frosted glass" blur effect in Android 11 and lower in compose? https://medium.com/android-news/the-blurry-frosted-background-is-a-common-pattern-on-ios-where-they-have-simply-controls-to-cbd0c5843e5f
c
a
+2
  • 4
  • 9
  • 762
Hello, is Ktor client supported on WasmJS? I'm getting errors on Gradle sync: ```:shared:wasmJsMain:...
i

Iliyan Germanov

over 1 year ago
Hello, is Ktor client supported on WasmJS? I'm getting errors on Gradle sync:
:shared:wasmJsMain: Could not resolve io.ktor:ktor-client-content-negotiation:2.3.10
If not are there any known workarounds? I want our
commonMain
Compose app to be able to run in the browser. I have the following abstraction that seems to work on the other platforms:
class JVMPlatform: Platform {
    override val name: String = "Java ${System.getProperty("java.version")}"

    override fun log(level: LogLevel, msg: String) {
        println("${level.name}: $msg")
    }

    override fun httpClient(
        config: HttpClientConfig<*>.() -> Unit
    ): HttpClient = HttpClient(Java) {
        config(this)
    }
}
āœ… 2
i
j
n
  • 3
  • 6
  • 760
I want to execute the coroutines in the for loop in parallel and when all complete I want `print(5)`...
h

Hadi Tok

about 7 years ago
I want to execute the coroutines in the for loop in parallel and when all complete I want
print(5)
to run. how should I go for doing this? the current code I sent runs the coroutines in loop parallel but
print(5)
does not wait for completion of the others.
-.kt
h
d
+3
  • 5
  • 16
  • 760
Is there a Serializer for Any ?
p

Paul Meshkovsky

about 2 years ago
Is there a Serializer for Any ?
🚫 1
p
m
+2
  • 4
  • 21
  • 759
Is it possible to tell `SnapFlingBehavior` to snap only to specific items (positions)? I want to sna...
k

KamilH

almost 3 years ago
Is it possible to tell
SnapFlingBehavior
to snap only to specific items (positions)? I want to snap only to
stickyHeaders
, not any item on the list.
k
d
  • 2
  • 3
  • 759
`import org.jetbrains.compose.resources.resource` not found on latest version of Jetbrains Multiplat...
s

Suresh Maidaragi

over 1 year ago
import org.jetbrains.compose.resources.resource
not found on latest version of Jetbrains Multiplatform Compose
v1.6.0-rc01
is this removed? what is the alternative if so?
s
j
s
  • 3
  • 32
  • 758
Hello, could you please suggest ways to implement BackHandler for iOS? Is it possible to use the nat...
a

Alex

over 2 years ago
Hello, could you please suggest ways to implement BackHandler for iOS? Is it possible to use the native back swipe gesture in iOS?
šŸ‘ 1
a
a
+2
  • 4
  • 15
  • 758
Morning guys, what is the best way to debug ios app with KMP ? I'm currently using android studio, b...
j

Jiri Bruchanov

almost 2 years ago
Morning guys, what is the best way to debug ios app with KMP ? I'm currently using android studio, but I'm struggling with debugging a lot.. • preview of variables (in variable tab) is usually very slow (takes a second or so to load one, so having multiple there is just extremely slow and painful) • LLDB is basically unusable (or maybe not sure how to use it), comparing to usage in xcode when I can execute simple code for exploring content of variables etc just doesn't work at all, usually saying that variables are undeclared etc • any usage of evaluate window (alt+f8) is basically same as lldb window, nothing really works is there something what I'm missing like extra plugin, or this doesn't really work at this stage of KMP ?
j
m
a
  • 3
  • 10
  • 757
hey guys, how you manage multi flavor builds in your kmm projects?
d

deviant

about 4 years ago
hey guys, how you manage multi flavor builds in your kmm projects?
d
z
  • 2
  • 2
  • 757
I'm getting a few ANRs reported by Android for *`WaitForOtherNonDaemonThreadsToExit` in each case I ...
t

Tolriq

over 2 years ago
I'm getting a few ANRs reported by Android for
WaitForOtherNonDaemonThreadsToExit
in each case I have an OkHttp thread running. Any knowledge about such kind of issues ?
Anr:
#00  pc 0x000000000004e8f0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x00000000003a9ae4  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+140)
  #02  pc 0x00000000007267c0  /apex/com.android.art/lib64/libart.so (art::ThreadList::WaitForOtherNonDaemonThreadsToExit(bool)+336)
  #03  pc 0x000000000034dc20  /apex/com.android.art/lib64/libart.so (art::JII::DestroyJavaVM(_JavaVM*)+32)
  #04  pc 0x00000000000ce520  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+1032)
  #05  pc 0x0000000000002570  /system/bin/app_process64 (main+1304)
  #06  pc 0x000000000004a7d4  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+100)
Thread code in thread.
t
y
  • 2
  • 14
  • 756
Previous737475Next

kotlinlang

A modern programming language that makes developers happier.

Powered by