https://android-developers.googleblog.com/2023/10/androidx-minsdkversion-19.html
#jetpack #minsdk
Kotlin Multiplatform Mobile in Beta now!
https://blog.jetbrains.com/kotlin/2022/10/kmm-beta/
Guide video from JetBrains: https://youtu.be/2yd6rVJdICU
#kmm
#proguard
ProGuard Playground Beta Graduation
ProGuard Playground allows you to check the effect of your ProGuard configuration in real time. With the release of Beta, new features were added:
👉 Naming your playground
👉 Support for Kotlin Metadata
👉 Integration with AppSweep (find and fix security issues in your Android app’s code and dependencies)
#compose
Snapper is a library which brings snapping to the Compose scrolling layouts
Snapper can be summarized as SnapHelper for LazyRow & LazyColumn, adding item snapping, maximum fling distance, snap position, and more
#compose
Always provide a Modifier parameter
Any composable you write which emits layout (even a simple Box), should have a modifier: Modifier parameter, which is then used in the layout. Why? More details in the article
#kapt #ksp
Kotlin Symbol Processors (KSP)
KSP becomes stable. JetBrains said that KSP better understands the syntax of Kotlin and does not need to take extra steps compare to KAPT.
The main news is that KAPT switch into support mode. No features or improvements. New features will only be in KSP and other Kotlin compiler plugins. They didn't say anything about KSP support in IDE.
#survey #scripts
Do you write Kotlin scripts or use REPL? Please share your experience with the Kotlin Team and tell them about your use cases! By doing so, you will help to improve Scripting APIs and bring them closer to stabilization. Survey is here
#wear
Wear OS Jetpack libraries now in stable!
A library for developing applications for Wear OS has become part of Jetpack. Compared to Wearable Support, new features have appeared, some libraries 100% Kotlin, and support of WearOS 3.0 has been added.
#survey
The Kotlin team is working on improving libraries authors experience, and they want to know more about real use cases. If you’ve worked on your own library or plan to create one, please share your feedback by taking this survey.
#kotlin
Kotlinx.Serialization 1.3.0-RC
👉 The first experimental version of the serialization API for IO streams
👉 New way to fine-tune the serialization of default values:
👉 A new JSON configuration property explicitNulls
defines whether null
property values should be included in the serialized JSON string
👉 A way to set a custom discriminator name for each class hierarchy to enable more flexible serialization.
👉 Support for Java module system
👉 Native targets for Apple Silicon
🔨 Bugfixes and improvements
#jetpack #workmanager
Android Jetpack Updates. September 1, 2021
👉 WorkManager 2.6.0 uses the standardized mechanism of androidx.startup for initializing WorkManager and includes a number of improvements for its multi-process support
👉 Compose 1.0.2 (no Kotlin 1.5.30 support)
👉 Activity 1.4.0-alpha01 implements MenuHost interface. This allows any component to add menu items to the ActionBar
by adding a MenuProvider
instance to the activity
👉 Navigation 2.4.0-alpha08 support creation of custom NavType programmatically
👉 Profiler Installer 1.0.2 improves support Android 9-11
#material #design
Material Components Android 1.5.0-alpha03
The most important change is access preview of Material 3 and requirement for compileSdk 31 (Android 12). Most likely, this is dev name of Material You.
Android 11 is here!
https://www.youtube.com/watch?v=Jl-lFUoQ4rA
Learn more:
https://blog.google/products/android/android-11
Additional features fro Pixels:
https://support.google.com/pixelphone/thread/69861931?hl=en
Sources:
https://android.googlesource.com/platform/build/+/refs/heads/android11-release
#Android11
Android migrates away from C/C++ to Java/Kotlin/Rust
In Android 12 we announced support for the Rust programming language in the Android platform as a memory-safe alternative to C/C++. Since then we’ve been scaling up our Rust experience and usage within the Android Open Source Project (AOSP).
In Android 13, about 21% of all new native code (C/C++/Rust) is in Rust.
https://security.googleblog.com/2022/12/memory-safe-languages-in-android-13.html
#android12 #android13 #JNI
#compose #kaspresso #testing
Kaspresso 1.4.0: Jetpack Compose support Latest
🔥 Jetpack Compose support [Early access]
🛠️ Bugs fixes
#android12 #androiddevsummit
12L and new Android APIs and tools for large screens
Announced a preview of a special version of Android 12 for devices with large screens: tablets, foldable and Chrome OS - Android 12L (L - large as I understand it).In this version, the UI of the system for large devices has been updated, multitasking has been improved, new taskbar, etc.
Android 12L will be release early 2022. Google recommends adapting the applications, but it will not be mandatory to be published on Google Play.
In addition, the Material Design manual has been updated, and an API has been added for developing universal applications for various screen sizes. Now you can embed Activity (Activity embedding), Window size classes (will appear in Jetpack Window 1.1) and other possibilities for folding devices.
An interesting innovation is resizable emulator that can change screen size on the fly: phone, tablet (portrait and landscape), folding device
#kotlin #native #multithreading
Kotlin Native. Multithreading with Coroutines
Kotlin Multiplatform provides common way to implement the multithreading. It uses Kotlin, so we can use Coroutines for all our targets. In the article you will find how to do that
#coroutines #kotlin
Exception handling in Kotlin Coroutines
Overview of how to handle an error that occurred while running Coroutine
#kotlin
Kotlin 1.5.31 released
Lot of bug fixes in JVM IR and other bugs in Kotlin 1.5.30
#codequality
Automation of code analysis in Android projects
Review of tools that will help you automate check quality of code and tech debt in project. Of course, they will make your skills better because you will show a lot of best practices.
#android12 #workmanager
Using WorkManager on Android 12
Everyone who is preparing to support Android 12 should use Work Manager 2.7 (now in alpha) because current stable doesn't support expedited jobs
#dagger #hilt
Hilt Extensions in the MAD Skills series
The article / video explains Hilt extensions that can add modules and entry points to Hilt. For example, Jetpack WorkManager. You will learn how extensions work and how to create your own and ideas.
#android12
Android 12 Beta 5 update, official release is next!
Beta 5 Android 12 has been released that contains various improvements and fixes. Beta Android 12 is also available for the Pixel 5a. They promise the next release within a few weeks, and it will be final!
#kapt #ksp
Accelerated Kotlin build times with Kotlin Symbol Processing 1.0
Kotlin Symbol Processing - KAPT replacement, that is faster and supports not only JVM (Kotlin/JS & Kotlin/Native are ready). Moshi & Room support KSP and I am waiting for KSP in Dagger
#compose #testing
How to test Jetpack Compose UI
An example of how you can test Jetpack Compose UI and review of new APIs for that
Kotlin Symbol Processing (KSP) in Alpha now!
https://android-developers.googleblog.com/2021/02/announcing-kotlin-symbol-processing-ksp.html
KSP offers similar functionality to KAPT, however it’s up to 2x faster, offers direct access to Kotlin compiler features, and is being developed with multiplatform compatibility in mind.
More details in repository: https://github.com/google/ksp
Quickstart: https://www.github.com/google/ksp/tree/master/docs%2Fquickstart.md
#Kotlin #KSP #KAPT
Today, we’re releasing the alpha of Jetpack Compose, our modern UI toolkit designed to help you quickly and easily build beautiful apps across all Android platforms, with native access to the platform APIs.
https://android-developers.googleblog.com/2020/08/announcing-jetpack-compose-alpha.html
Manual how to setup it: https://developer.android.com/jetpack/compose/setup
#Jetpack #Compose