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

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

Чат - https://tttttt.me/startandroidchat

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

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

РКН - https://shorturl.at/p7iUr
Download Telegram
Рассуждения на тему, где и в какой момент лучше загружать данные: LaunchedEffect или ViewModel.init()

#android #kotlin #compose #architecture

https://proandroiddev.com/loading-initial-data-in-launchedeffect-vs-viewmodel-f1747c20ce62
Compiler Explorer предоставляет возможность посмотреть, как выглядит код на различных этапах своего пути

#android #kotlin #java #compile #source

https://android-developers.googleblog.com/2024/09/become-better-android-developer-compiler-explorer.html
Вышла новая версия Ktor, альтернативы OkHttp от Jetbrains

Что нового в версии 3:
- Migrating to kotlinx-io
- Support for server-sent events
- Serving static resources from ZIP archives
- Support for CSRF

#kotlin #network #ktor

https://blog.jetbrains.com/kotlin/2024/10/ktor-3-0/
Релизнулся Kotlin 2.1.0

What's new:

New language features in preview: Guard conditions in when with a subject, non-local break and continue, and multi-dollar string interpolation.

K2 compiler updates: More flexibility around compiler checks and improvements to the kapt implementation.

Kotlin Multiplatform: Stable Gradle DSL for compiler options and many other improvements.

Kotlin/Native: Improved support for iosArm64 and other updates.

Kotlin/Wasm: Multiple updates, including support for incremental compilation.

Gradle support: Improved compatibility with newer versions of Gradle and the Android Gradle plugin, along with updates to the Kotlin Gradle plugin API.


#kotlin #release

https://blog.jetbrains.com/kotlin/2024/11/kotlin-2-1-0-released/
Несколько дней назад релизнулся Kotlin 2.1.20

Список изменений:

- K2 compiler updates: New default kapt compiler plugin.
- Kotlin Multiplatform: A new DSL to replace Gradle’s Application plugin in multiplatform projects.
- Kotlin/Native: Inlining optimization to improve runtime performance.
- Kotlin/Wasm: Custom formatters are now enabled by default in development builds.
- Gradle support: Support for adding custom publication variants in multiplatform and JVM projects.
- Standard library: Introduction of common atomic types, improved UUID support, and a new time-tracking functionality.
- Compose compiler: Now includes source information by default across all platforms.

#kotlin #release

https://blog.jetbrains.com/kotlin/2025/03/kotlin-2-1-20-released-2/
Последние новости из мира 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/
Несколько дней назад вышел 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