Google SMS-Retriever API in Jetpack Compose | by Sagar Malhotra
The Google SMS-Retrieval API allows Android apps to automatically retrieve SMS messages containing one-time passwords (OTPs) from the user’s device by showing a one-time consent to the user before reading the SMS. This can be used to improve the user experience by eliminating the need…
Unleashing Creativity with Custom Modifiers in Android Jetpack Compose | by Nirbhay Pherwani | Aug, 2023
Example 1 — Gradient Background Modifier Create a custom modifier that applies a gradient background to a composable. This can be used to provide a consistent visual theme across your app’s components. Gradient Background Custom Modifier fun Modifier.gradientBackground(colors: List<Color>): Modifier = composed {drawWithContent {drawRect(brush =…
Animated Circular Progress Indicator using Jetpack Compose | by Shoaib Mushtaq | Aug, 2023
How do we show the progress status? Here is the progress status composable to show progress in text form. For example, we are showing 15/20 in the centre with different styles and colours based on typography. How do we draw an arc for Circular Progress…
Seamless Play of D&D — Implementing Drag and Drop Across Multiple Screens in Your Android App with Jetpack Compose | by Nirbhay Pherwani | Aug, 2023
The LongPressDraggable composable function is the foundation of our seamless D&D experience. It allows us to wrap any content (ex. horizontal pager) with dragging behavior, making it draggable upon a long-press gesture. Code @Composablefun LongPressDraggable(modifier: Modifier = Modifier,content: @Composable BoxScope.() -> Unit) {val state =…
Github Actions, Transforming UseCase, Jetpack Compose, Kotlin Multiplatform libraries API, Android Lint, and more! | by Shahla Aliyeva | Aug, 2023
Just as always, we are reachable via editors@proandroiddev.com. We look forward to reading your feedback, article submissions, and partnership ideas. Follow us on Facebook and Twitter, and see you soon! Cheers, ProAndroidDev Team Sergii Zhuk . Greg Fawson . Andy Dyer . Brian Gardner ….
Clean Architecture, Crypto Trade App, Jetpack Compose, Custom Crypto Cap Card, Android App Links, and more! | by Shahla Aliyeva | Jul, 2023
Just as always, we are reachable via editors@proandroiddev.com. We look forward to reading your feedback, article submissions, and partnership ideas. Follow us on Facebook and Twitter, and see you soon! Cheers, ProAndroidDev Team Sergii Zhuk . Greg Fawson . Andy Dyer . Brian Gardner ….
Implementing a Crypto Trade App in Jetpack Compose: Adding the Custom Crypto Cap Card | by Alejandro Zurcher | Jul, 2023
Let’s begin by creating a new Composable under our composables/home package to keep things organized in our project. Now, let’s write the root function of our new Composable. This new view looks quite similar to a native Card, so for now, let’s start with that…
More Accessible Graphs with Jetpack Compose Part 1: Adding Content Description | by Eevis Panula | Jul, 2023
Data visualizations rely on the visual representation of data. And that data is usually portrayed by some combination of colors. On mobile apps, they also often include different interactions that rely on touch. But what if your user can’t see? Or if they’re colorblind, and…
Custom Slider in Jetpack Compose
Photo by Jeremy Bishop on Unsplash In the world of modern Android app development, Jetpack Compose has emerged as a powerful UI toolkit that offers a declarative approach to building native Android apps. With Jetpack Compose, you can create interactive and visually appealing user interfaces…
A Composable Journey: Jetpack Compose Animations | by Alejandro Zurcher | Jun, 2023
Let’s animate the content visibility The first thing we’ll do is add some visibility updates to our content, ensuring that it doesn’t just pop up in the UI without notice. Thankfully, achieving this in Compose is very straightforward. Let’s first extract the content that is…