Medium | Android Developers
732 FOLLOWERS
The official Android Developers publication on Medium.
Medium | Android Developers
1w ago
Overview
Dependency injection is a programming pattern which prescribes that classes do not construct instances of their dependencies, instead such instances are provided. This pattern enables separation of concerns, and increases testability, reusability, and ease of maintenance. See Dependency injection in Android to review the benefits of dependency injection and its core concepts.
You may already be familiar with Hilt, the Android library based on Dagger which implements a dependency injection solution for Android apps. Hilt’s approach includes two important features:
Providing dependenci ..read more
Medium | Android Developers
1w ago
I/O 2024, Women’s History Month, Vulkan on Android, and more!
Welcome to Now in Android, your ongoing guide to what’s new and notable in the world of Android development.
https://medium.com/media/5640ecd44dd229281b24b712b5b93244/hrefhttps://medium.com/media/6091528424b3013ec6bc115934c64183/href
Most of the content of this post is available in the form of a video or podcast, so feel free to watch or listen rather than read on. (Or do all three to help you remember! There won’t be a quiz.)
Google I/O is arriving this year on May 14th
Google I/O is arriving this year on May 14th an ..read more
Medium | Android Developers
3w ago
Android 15 Developer Preview 2, #TheAndroidShow, the Google I/O date, the Meta Android OS Readiness Program, Google Play’s enhanced fraud protections and more!
Welcome to Now in Android; your ongoing guide to what’s new and notable in the world of Android development.
In this episode we cover Android 15 Developer Preview 2, The Android Show, the Google I/O date, the Meta Android OS Readiness Program, Google Play’s enhanced fraud protections, and more.
https://medium.com/media/c225228214ec0b974a114f6bad050846/hrefhttps://medium.com/media/0ad0c5c54d5c0f8f6f2347071eac2148/href
Most of t ..read more
Medium | Android Developers
1M ago
Android 15 DP 1, Stable Studio Iguana, Photo Picker Cloud, ML Kit Document Scanning, Wear OS Hybrid, Scrolling/Skipping/Shapes in Compose, Lint, and more!
Welcome to post 100 of Now in Android, your ongoing guide to what’s new and notable in the world of Android development.
Not only is our 100th episode a milestone, but our video has a new style, new music, and the new Bot!
https://medium.com/media/bcf8c2718f707cb00e4cce3fe71a5936/hrefhttps://medium.com/media/75d6fd9bd26a9212ace9d824934492af/href
Most of the content of this post is available in the form of a video or podcast, so fee ..read more
Medium | Android Developers
1M ago
Strong skipping mode is an experimental feature in the Jetpack Compose Compiler 1.5.4+ that is currently being tested. It is part of our work to make the code you naturally write more performant. We don’t want you to have to be experts in Compose internals in order to write good Compose code! Strong skipping mode changes the rules for what composables can skip recomposition and should greatly reduce recomposition by allowing composables with unstable parameters to be skipped, and additionally, automatically remembering lambdas with unstable captures.
This change may seem small, but the behavi ..read more
Medium | Android Developers
1M ago
We’ve just released new documentation covering how to use the graphics-shapes library in Jetpack Compose. Whilst that covers the basics, I thought it would be fun to try something a bit more advanced and create a different looking progress bar than the standard ones we are used to.
In this blog post, we will cover how to create this progress bar that transitions from a squiggly “star” shaped rounded polygon to a circle while performing the regular progress animation.
Squiggly line gradient infinite progress barCreate the polygons
The first step we want to perform is a transitio ..read more
Medium | Android Developers
2M ago
Lists are at the core of most Android apps. Over the years, different solutions were introduced to ensure other UI components could interact with such lists — for instance, how an app bar reacts to list scrolls or how nested lists interact with one another. Have you ever encountered a situation where you have one list inside another and, by scrolling the inner list to the end, you’d like the outer list to continue the movement? That’s a classic nested scrolling example!
Nested scrolling is a system where scrolling components contained within each other can communicate their scrolling deltas t ..read more
Medium | Android Developers
2M ago
Gemini Pro, Google AI SDK, Google AI Studio, Cast, Rust, and more!
Welcome to Now in Android, the first installment for 2024 of your ongoing guide to what’s new and notable in the world of Android development. In this article we’ll cover Gemini Pro, Google AI SDK, Google AI Studio, Cast, Rust, and more.
https://medium.com/media/73a4f5b5fa010345ae1f83a1ad08a3d2/hrefhttps://medium.com/media/e1e301b1918a1499ce13a67bcb80f8f8/href
Most of the content of this post is available in the form of a video or podcast, so feel free to watch or listen rather than read on. (Or do all three to help y ..read more
Medium | Android Developers
4M ago
Gemini, AICore, ML Kit, Android Studio, AVF, KSP2, Performance and more!
Welcome to the latest (and last one for this year!) edition of Now in Android; your ongoing guide to what’s new and notable in the world of Android development.
https://medium.com/media/22c0aeac7907a25082c5ac3a295e1c3b/hrefhttps://medium.com/media/8bf22c0b6a63d28409627044e3c0c3e8/href
Most of the content of this post is available in the form of a video or podcast, so feel free to watch or listen rather than read on. (Or do all three to help you remember! There won’t be a quiz.)
A New Foundation for AI on Android ..read more
Medium | Android Developers
5M ago
Adaptive Layouts, Google Play updates, and more!
Welcome to Now in Android, your ongoing guide to what’s new and notable in the world of Android development.
https://medium.com/media/e3cda1f57e158d8ad21a6eefd016a692/hrefhttps://medium.com/media/6723d3125b4c398be04fae5cb418a74d/href
Most of the content of this post is available in the form of a video or podcast, so feel free to watch or listen rather than read on. (Or do all three to help you remember! There won’t be a quiz.)
New APIs for adaptive layouts in Jetpack Compose
We’ve released the first alpha of our new Material adap ..read more