https://kotlinlang.org
Join Slack
Introducing gtk-kn: GTK for Kotlin/Native We've been working on generating Kotlin Native bindings f...
v

vbsteven

over 2 years ago
Introducing gtk-kn: GTK for Kotlin/Native We've been working on generating Kotlin Native bindings for GTK and other GObject Introspection-based libraries (Gio, Pango, Adwaita, GtkSourceView,...) A quick non-exhaustive list of what is already possible right now: • Build UI in code using widgets from the Gtk4 and Adwaita libraries • Load and use
.ui
resource files • Connect signal handlers • Use property binding on all objects and widgets • Work with `ListModel`/`ListStore`/`Listview` • Define your own
GObject
types with support for properties • Use various Gio abstractions including the file system API, menus, actions and resources We have not published the artefacts to MavenCentral yet. However, you can still use it in your projects by building locally and deploying to MavenLocal. The current focus is on Linux, but we're also looking at Windows/MacOS support in the future. We would love to hear some feedback on the project, so if you're interested in testing it out, head over to our GitLab page https://gitlab.com/gtk-kn/gtk-kn to learn more. Also, if you have any questions or want to get involved in development discussions, we mostly hang out on our Matrix room at https://matrix.to/#/#gtk-kn:matrix.org.
K 15
🙌🏾 1
🚀 16
🙌🏻 1
500 7
🙌 6
v
c
m
  • 3
  • 12
  • 415
Hello, does Ktor server support gRPC? I'm new to gRPC and would love to try it. Thanks
a

Alexandre Brown

almost 4 years ago
Hello, does Ktor server support gRPC? I'm new to gRPC and would love to try it. Thanks
a
h
  • 2
  • 1
  • 415
there are a way to "clear" a rememberLazyListState(). I want clear the state only when i perform an ...
c

carbaj0

about 4 years ago
there are a way to "clear" a rememberLazyListState(). I want clear the state only when i perform an action, the rest of the time i want to hold the state.
c
b
d
  • 3
  • 8
  • 415
Hey, I'm thinking about adding haptic feedback (vibration) to my app. In the old Viewsystem I would ...
n

Niklas Schnettler

about 5 years ago
Hey, I'm thinking about adding haptic feedback (vibration) to my app. In the old Viewsystem I would have used view.performHapticFeedback(). Is there a way to do something similar using compose without doing it manually (using the vibrate permission and the Vibrator Systemservice)?
n
d
+3
  • 5
  • 5
  • 415
Did anyone face this exception? ```org.bson.codecs.configuration.CodecConfigurationException: Can't ...
a

Ahmed Riyadh

almost 2 years ago
Did anyone face this exception?
org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for CodecCacheKey{clazz=class kotlinx.datetime.Instant, types=null}.
	at org.bson.internal.ProvidersCodecRegistry.lambda$get$0(ProvidersCodecRegistry.java:87)
...
? It's while trying to insert a instance of data class (that has Instant from kotlinx.datetime) using the new Kotlin MongoDb driver
a
c
  • 2
  • 12
  • 414
:mega: Be sure to update to Kotlin 1.8.0! Here are some of its biggest highlights: - New experiment...
a

Alina Dolgikh [JB]

almost 3 years ago
📣 Be sure to update to Kotlin 1.8.0! Here are some of its biggest highlights: • New experimental functions for JVM: recursively copy or delete directory content • Improved kotlin-reflect performance • New -Xdebug compiler option for better debugging experience •
kotlin-stdlib-jdk7
and
kotlin-stdlib-jdk8
merged into
kotlin-stdlib
• Improved Objective-C/Swift interoperability • Compatibility with Gradle 7.3 Learn about new features in your favourite format (📹 / 📕)
🙌🏾 1
❤️‍🔥 1
jetpack compose 11
K 4
K 84
💥 2
😍 3
🙌 5
K 59
kotlin but ketchup 11
🎉 30
a
i
+2
  • 4
  • 3
  • 414
What is the easiest way to transpose 2 dimentional list in kotlin? ``` // now listOf( li...
i

igor.wojda

over 6 years ago
What is the easiest way to transpose 2 dimentional list in kotlin?
// now
listOf(
            listOf(1, 2),
            listOf(3, 4)
        )

// want
listOf(
            listOf(3, 1),
            listOf(4, 2)
        )
i
r
h
  • 3
  • 3
  • 414
Does anyone have Philipp Lackner’s Android development course?
b

Binod Basnet

over 1 year ago
Does anyone have Philipp Lackner’s Android development course?
😡 0
b
c
s
  • 3
  • 7
  • 413
I am using a very basic `maven-publish` setup for a Kotlin Multiplatform project, but I am getting t...
a

Arjan van Wieringen

almost 3 years ago
I am using a very basic
maven-publish
setup for a Kotlin Multiplatform project, but I am getting these notices in the logging when running the
publish
task:
> Task :ui:base:publishKotlinMultiplatformPublicationToMavenRepository
Multiple publications with coordinates 'nl.avwie:ui-base:1.0.0-SNAPSHOT' are published to repository 'maven'. The publications 'js' in project ':ui:base' and 'kotlinMultiplatform' in project ':ui:base' will overwrite each other!
Multiple publications with coordinates 'nl.avwie:ui-base:1.0.0-SNAPSHOT' are published to repository 'maven'. The publications 'jvm' in project ':ui:base' and 'kotlinMultiplatform' in project ':ui:base' will overwrite each other!
How can I remove these notices? I am using:
publishing {
    repositories {
        maven {
            url = uri("<https://maven.pkg.jetbrains.space/avwie/p/avwie/maven>")
            credentials {
                ...
            }
        }
    }

    publications.withType<MavenPublication> {
        artifactId = "ui-base"
    }
}
a
t
+2
  • 4
  • 16
  • 413
Hello KMM family, is there any lib for google and facebook login in KMM or is it necessary to take t...
f

Farid Benhaimoud

over 2 years ago
Hello KMM family, is there any lib for google and facebook login in KMM or is it necessary to take the actual expect approach? For the backend there is Ktor.io OAuth but for the client-side???
f
a
  • 2
  • 3
  • 412
Previous163164165Next

kotlinlang

A modern programming language that makes developers happier.

Powered by