StartAndroid
10K subscribers
389 photos
10 videos
5 files
1.87K links
Канал об Android (Андроид) разработке

Сайт - https://startandroid.ru

Чат - https://t.iss.one/startandroidchat

Контакты - https://startandroid.ru/ru/about/cntct5.html

Реклама - https://startandroid.ru/ru/about/reklama.html

РКН - https://shorturl.at/p7iUr
Download Telegram
Context parameters релизнуты в Beta статусе в Kotlin 2.2.0

Миграция на них с текущих context receivers крайне рекомендуется, т.к. context receivers будут в дальнейшем удалены

#kotlin #contextreceivers #contextparameters

https://blog.jetbrains.com/kotlin/2025/04/update-on-context-parameters/
👍7🥱5😱1
Автор призывает быть внимательнее при использовании массивов в Data классах из-за их реализации equals()

#kotlin #dataclass #array

https://proandroiddev.com/avoid-using-array-in-the-data-class-constructor-in-kotlin-ebc308e46a95
👍5👌5🥴31
Последние новости из мира Kotlin

- Kotlin 2.2 and language evolution
- K2 compiler: Now the default in IntelliJ IDEA 2025.1
- New language features on the way
- Kotlin build tool innovation – Amper
- Growth of the Kotlin Foundation and reopening of the Grants Program
- Introducing Koog: A framework for building AI agents in Kotlin (now open source)
- Kotlin Multiplatform: New KMP plugin in IntelliJ IDEA + Android Studio and Compose Multiplatform Updates
- Compose Multiplatform for iOS is Stable
- Kotlin/Wasm and Compose for web progress
- Kotlin for server side: Growing adoption and Spring partnership
- Backend ecosystem: Ktor 3 and revamped Exposed
- Official Kotlin LSP in development

#kotlin #kmp #amper #multiplatform

https://blog.jetbrains.com/kotlin/2025/05/kotlinconf-2025-language-features-ai-powered-development-and-kotlin-multiplatform/
👍6💩41👎1
Несколько дней назад вышел Kotlin 2.2.0

What's new

Language: new language features in preview, including context parameters. Several previously experimental features are now Stable, such as guard conditions, non-local break and continue, and multi-dollar interpolation.

Kotlin compiler: unified management of compiler warnings.

Kotlin/JVM: changes to default method generation for interface functions.

Kotlin/Native: LLVM 19 and new features for tracking and adjusting memory consumption.

Kotlin/Wasm: separated Wasm target and the ability to configure Binaryen per project.

Kotlin/JS: fix for the copy() method generated for @JsPlainObject interfaces.

Gradle: binary compatibility validation in the Kotlin Gradle plugin.

Standard library: stable Base64 and HexFormat APIs.

Documentation: our documentation survey is open, and notable improvements have been made to the Kotlin documentation.

#kotlin #release

https://kotlinlang.org/docs/whatsnew22.html
9