https://kotlinlang.org
Join Slack
Is there a way to create a frosted glass effect using Jetpack Compose? My background is dynamic and ...
s

Shivam Dhuria

over 3 years ago
Is there a way to create a frosted glass effect using Jetpack Compose? My background is dynamic and I only want the part behind the card to be blurred. (for versions > android 8) I am trying to make something like this -
s
f
+2
  • 4
  • 4
  • 1053
Can kover be configured to exclude all generated classes under `build` directories?
l

Lukasz Kalnik

almost 3 years ago
Can kover be configured to exclude all generated classes under
build
directories?
👀 1
l
p
j
  • 3
  • 12
  • 1051
Hi. Is there any good multiplatform library for handling URIs?
f

Felix

over 2 years ago
Hi. Is there any good multiplatform library for handling URIs?
f
a
c
  • 3
  • 6
  • 1049
How can I collect, observe changes from savedStateHandle in a viewModel? I have Screen A and ScreenA...
b

bryankeltonadams

over 1 year ago
How can I collect, observe changes from savedStateHandle in a viewModel? I have Screen A and ScreenAViewModel, I navigate to screen B, then press a button which takes the navController.previousBackStackEntry and updates a key value, the Compose savedStateHandle from the backStackEntry gets updated, but the savedStateHandle in the viewModel does not. I tried using the StateFlow on the savedStateHandle and the update never triggers a collection, I tested changing the key in the viewModels savedStateHandle and that does work, but the problem is that I'm trying to change it from the other screen which is outside of the scope of ScreenAViewModel. Any ideas? I'm basically trying to pass an argument back from Screen B, which is an id, and then trigger a network call to get some data. (think going from a form, to an item or location picker). Should I just get it from the backStackEntry in the composable, and then trigger a LaunchedEffect when it changes instead of trying to observe changes in the viewModel?
b
i
  • 2
  • 6
  • 1045
Hii, I want to center align last item if it is single item in LazyVerticalGrid. Is that possible usi...
g

gowtham 6674

about 3 years ago
Hii, I want to center align last item if it is single item in LazyVerticalGrid. Is that possible using LazyVerticalGrid or i need to use custom layout?
✅ 1
g
j
+2
  • 4
  • 16
  • 1045
Is there a functioning Kafka lib that works well with coroutines? Nothing fancy, just need to send s...
j

João Gabriel Zó

about 3 years ago
Is there a functioning Kafka lib that works well with coroutines? Nothing fancy, just need to send some messages to my notifications service
j
s
h
  • 3
  • 14
  • 1042
When using `bind` inside `either { ... }` I’m getting this message > ‘bind(): A’ is deprecated. T...
j

jean

over 2 years ago
When using
bind
inside
either { ... }
I’m getting this message
‘bind(): A’ is deprecated. This object introduces dangerous behavior.
What am I suppose to use now? I see there is
ensure
but I don’t really understand how to use it properly
j
m
+2
  • 4
  • 9
  • 1041
How to use moko-mvvm ViewModel with Composable Screens?
a

Ahmad Hassan

over 2 years ago
How to use moko-mvvm ViewModel with Composable Screens?
a
a
  • 2
  • 12
  • 1041
:new::kotlin-intensifies-purple::party-parrot: :mega: Kotlin 1.8.20-Beta brings many new features: ...
a

Alina Dolgikh [JB]

almost 3 years ago
🆕K🦜 📣 Kotlin 1.8.20-Beta brings many new features: • New Kotlin K2 compiler updates • New experimental Kotlin/Wasm target • New JVM incremental compilation by default in Gradle • Update regarding Kotlin/Native targets • Preview of Gradle composite builds in Kotlin Multiplatform • Improved output for Gradle errors in Xcode • Experimental support for AutoCloseable interface in standard library • Experimental support for Base64 encoding in standard library 📣 The K2 Compiler is going stable in Kotlin 2.0 We’ve been working on a new frontend for the Kotlin compiler (code-named “*K2*”) for quite a while. The new frontend is already available for preview – we’re continually polishing and stabilizing it and plan to make it the default compiler frontend in a future Kotlin release. We’ve decided to name this future release Kotlin 2.0. Learn more about the release roadmap and what to expect from Kotlin 2.0 Try out the new compiler frontend and give us feedback! Starting with Kotlin 1.8.20-Beta you can enable a preview of the Kotlin 2.0 language version via the regular Kotlin language version flag.
2️⃣ 2
🙌 2
.wasm 18
❤️ 27
K 85
👀 2
🎉 14
K 13
a
r
+10
  • 12
  • 16
  • 1041
I’m running kdoctor and I’m getting this error “Xcode requires to perform the First Launch tasks” ...
k

kevin

over 2 years ago
I’m running kdoctor and I’m getting this error “Xcode requires to perform the First Launch tasks” I’ve installed the latest version of kdoctor and the latest version of xcode and I’ve run xcode (I get the ‘welcome to xcode’ splash screen. Any ideas what the issue is? The (xcode) output from kdoctor -v is Xcode ➤ Xcode (14.2) Location: /Applications/Xcode.app ✖️ Xcode requires to perform the First Launch tasks Launch Xcode and complete setup i Xcode JAVA_HOME: /Users/kevinjones/Library/Java/JavaVirtualMachines/corretto-11.0.17/Contents/Home Xcode JAVA_HOME can be configured in Xcode -> Preferences -> Locations -> Custom Paths
k
d
k
  • 3
  • 3
  • 1039
Previous424344Next

kotlinlang

A modern programming language that makes developers happier.

Powered by