
JetBrains AI subscription now includes Junie and AI Assistant – two tools that help Kotlin developers write, refactor, and ship code faster right in IntelliJ IDEA.

Kotlin is a statically typed programming language for the JVM, Android, JavaScript, and native.
Subreddit rules:
Resources:
Smarter Kotlin Development With JetBrains AI: Junie and AI Assistant in IntelliJ IDEA
JetBrains AI subscription now includes Junie and AI Assistant – two tools that help Kotlin developers write, refactor, and ship code faster right in IntelliJ IDEA.
How to use Jetbrains Compose with a single target?
cross-posted from: https://lemmy.ml/post/21390036
I finished reading the Kotlin documentation (§Concepts) and want to do something now. I was thinking about making a desktop app with a GUI. For that people seem to recommend Jetbrains Compose.
It seems however that the guides (https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-multiplatform-create-first-app.html) to set up such a project assume I have more than one target. I however don't and thus don't need to divide my project into common code, ios code, wasm code, etc. I only need to compile my project for the JVM, since I'm only intending to support Linux and BSD. I don't have much experience with the Java/Kotlin-centric build systems and I would like to avoid investing
Lost while learning
Hi everyone, I am learning kotlin as my first language(I have a bit of python knowledge mostly useless stuffs) I am following the android tutorial for kotlin and now I am 100% lost at the tip calculator in kotlin here. What should/could I do to improve my situation? Any recommend would help me a lot. Thank!
Kotlin Multiplatform, In Detail, Step by Step Setup Guide (+Compose)
Click to view this content.
Kotlin/Native BigDecimal: A drop-in replacement for java.math.BigDecimal | Jan Holesovsky
Click to view this content.
Introducing iCore: Simplify Your Android Development!
iCore is a comprehensive Android library designed to streamline the development process by providing a robust set of modular components. With built-in support for the Model-View-ViewModel (MVVM) ar...
Hey everyone,
I'm excited to share iCore, a new library designed to streamline Android application development with modular and reusable components. iCore supports the MVVM architecture and provides base classes, extension functions, and various utility classes to reduce code duplication and speed up the development process.
Key Features:
Sigbla release v1.24.4 with major improvements to UI functionality
Sigbla is a framework for working with data in tables, using the Kotlin programming language. It supports various data types, reactive programming and events, user input, charts, and more. - sigbla...
Focus in this release has been on improving and refactoring frontend code, adding UI features such as column and row
hiding and locking through Visibility
and Position
meta classes. Other UI related features, such as supporting the
height and width of individual cells have also been implemented, allowing for column and row span functionality.
Additional frontend changes include adding a marker, which allows cells to be selected and improves the way input is passed on to underlying UI cell content. This allows for better widget and chart functionality among other improvements for code that wishes to extend the frontend functionality.
Finally, a more flexible approach is now supported around providing custom HTML/CSS/JS allowing for alternative styling and other such changes to the frontend rendering. Two view configs are provided out of the box to illustrate this, the compact and the spacious, with compact being the default choice w
Video: Inline, Crossinline, Noinline
Click to view this content.
Are extensions a good solution for DTO mapping?
It’s something simple but makes the code much cleaner
I came across this post (and more like it) claiming extensions to be a good, or at least different, solution for mapping DTO's.
Are they though? Aren't DTO's supposed to be pure data objects? I've always been taught to seperate my mappings in special mapping services or mapping libraries like MapStruct and ModelMapper for implementing the good practice of "seperation of concerns".
So what about extensions?
Put part of a LazyColumn under a Card
I have a screen where I want a lazy-loading card of various items below some necessary information, all of which will scroll down. My initial approach was to nest the lazycolumn under the card which is nested under a Column with a calculated nested height based on the size of the calls
list. However, I can't do that, and neither can I do the following.
undefined
@Composable @Preview fun mockup() { val calls = mutableStateListOf(Pair(1..418, 418 downTo 1)) MaterialTheme { LazyColumn(Modifier.verticalScroll(rememberScrollState())) { item { Text("Text and some necessary UI elements") Slider(value = .418f, onValueChange = {}) } Card(Modifier.fillMaxWidth()) { items(calls.asReversed()) { Row { Text(it.first.toString(), Modifier.fillMaxWidth(0.5f), fontWeight = FontWeight.Black) Text(it.second.toString(), Modifier.fillMaxWidth(0.