Kotlin Multiplatform desktop app without using compose
Reddit » Kotlin
by /u/tyczj
9h ago
I am trying to create a KMP template app that uses platform specific languages/UI (Android with xml views, ios with swift and view controllers, desktop with Javafx UI). I started from the KMP Wizard that does not share UI as a baseline and the first thing I wanted to do was add the desktop module to it. In the root of the project I added a "desktop" directory and then in my "settings.gradle.kt" I added in include(":desktop") so the module is recognized . I then created a new Javafx project in Intellij and copied the build.gradle.kt file from it along with the source and copied that into the d ..read more
Visit website
Kotlin Android App Without Activity
Reddit » Kotlin
by /u/Party_Significance86
11h ago
Hello all, I am new to Kotlin and Android app development, but have been learning as I go. I am hoping someone may be able to assist with an issue I am experiencing. Through Android Studio, I am attempting to code an app without an activity, that runs a foreground service to consistently log (every 5s) to Logcat as a proof of concept. I've created the service, which includes a function to create a notification, then start the foreground service. This function also includes a coroutine with a while loop that logs (Log.d), with a delay of 500ms. I've added the permissions entry in AndroidManife ..read more
Visit website
Еnvironmental variables for my SDK tools
Reddit » Kotlin
by /u/SanJunipero2033
11h ago
Hi guys! I've been learning "Android Studio Iguana Essentials - Kotlin Edition" by Neil Smyth recently. I am a total beginner and currently on the step where I should create some environmental variables for my SDK tools. I followed all the steps in the book and created Path1 and Path2, but my windows Prompt just doesn't see them. Could you please tell me what can be the root of this problem? My paths The result of echo %Path% submitted by /u/SanJunipero2033 [visit reddit] [comments ..read more
Visit website
Kotlin Illustrated Ch 19 - Generic Variance
Reddit » Kotlin
by /u/TypeProjection
11h ago
submitted by /u/TypeProjection [visit reddit] [comments ..read more
Visit website
Kotlin or java for backend
Reddit » Kotlin
by /u/_hue_hue_
16h ago
I have been doing Android dev since 5-6 months now I want to explore backend to create a full stack app for a semester project..I have knowledge of both java and kotlin...but i don't know where to start submitted by /u/_hue_hue_ [visit reddit] [comments ..read more
Visit website
Ktor serialization question
Reddit » Kotlin
by /u/genericprogrammer
1d ago
I have a data class that models a response from Firebase on user sign in. It looks like the following: @Serializable data class SignInResponse( val kind: String? = null, val localId: String? = null, val email: String? = null, val displayName: String? = null, val idToken: String? = null, val registered: Boolean? = null, val error: ErrorResponse? = null } On my httpClient I have set it up like so: val httpClient = HttpClient(CIO) { install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true }) } // other config here... } I am using kotlinx.serialization I have another class Firebas ..read more
Visit website
Would changing my language make a difference?
Reddit » Kotlin
by /u/Ggordon27
2d ago
I am currently in the process of learning to become a programmer and looking for work as well as i currently have zero working experience. My programming logic is really bad at the moment and i have been trying to build it. Java has been my main language for a while and its through java i learned the fundamentals of programming. However, and i've heard this sentiment from others too that, java might be holding me back a little or at least making my experience not so good. While i don't dislike using it, i just feel like i keep trying everyday to polish my skills but i end up learning nothing ..read more
Visit website
Wtf there is so much magic!
Reddit » Kotlin
by /u/Hot_Income6149
2d ago
I have only kotlin enterprise project, and sometimes I just want to kill myself when things just works with magic. Is this is general problem of java, and even with kotlin you just can’t run away from it? And !! anyway will be everywhere, because some cool annotation or inheritance could fetch data you need. Or not. Who tf knows, just place “!!” there! Or it’s more about enterprise itself, and there will be on every language code with a lot of magic? Sometimes i go to Go reddit, and read about how easy and straightforward they code in projects. Do you think they have less magic✨ ? submitted ..read more
Visit website
How to integrate a Kotlin Multiplatform Mobile (KMM) library with a Flutter project as a complete beginner to KMM?
Reddit » Kotlin
by /u/Regular-Resident-155
2d ago
i want to use kmm libraries and flutter as frontend i dont know how to do this i am complete beginner in kmm but have preety good idea with flutter submitted by /u/Regular-Resident-155 [visit reddit] [comments ..read more
Visit website
Library to generate invoice PDF
Reddit » Kotlin
by /u/radrishi
3d ago
For my app I need to generate PDF invoices, so far I am not able to find any libraries that can simplify the work for me. I know about iText but I would need to do a lot of things from scratch curious if anyone here knows any libraries that can simplify my work. Thanks! submitted by /u/radrishi [visit reddit] [comments ..read more
Visit website

Follow Reddit » Kotlin on FeedSpot

Continue with Google
Continue with Apple
OR