Android ResId
7.24K subscribers
29 photos
161 links
The most important news and resources for Android developers

Want to become channel topic creator?
https://forms.gle/pgxCXoPMuHVFGjvNA
Download Telegram
#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
#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
#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.
#kotlin

Kotlin 1.5.31 released

Lot of bug fixes in JVM IR and other bugs in Kotlin 1.5.30
#coroutines #kotlin

Exception handling in Kotlin Coroutines

Overview of how to handle an error that occurred while running Coroutine
#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.
#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
#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
#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
#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
#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)
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
πŸ₯³