In a few recent projects, I’ve needed to utilise Google Maps within environments utilising Jetpack Compose. In the early days of Compose this felt light a sought-after piece of functionality – even though it is still being built on, it now seems to be in a place where I can confidently use it. In this […]
Posted by Thomas Ezan – Sr Developer Relation Engineer (@lethargicpanda) We’re excited to announce Gaze Link as the winner of the Best Android App for our Gemini API Developer Competition! This innovative app demonstrates the potential of the Gemini API in providing a communication system for individuals with Amyotrophic lateral sclerosis (ALS) who develop severe […]
Image created by ChatGPT. I have recently been working on an app (Pay Day: Earnings Time Tracker) that includes a lot of widgets that show different types of data, but very quickly I came across a problem. The standard way of passing data to a widget uses PreferencesGlanceStateDefinition to manage the state. The way of […]
This is Part 8 of the android interview question series. This part will focus on Android architecture. 1. Can you explain the MVC and MVP patterns? What are the main differences and why are they not used in Android development? MVC is the Model-View-Controller architecture where model refers to the data model classes. The view […]
This is Part 7 of the android interview question series. This part will focus on Jetpack Compose. 1. What is Jetpack Compose? Jetpack Compose is Android’s recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Jetpack Compose is declarative programming, which means you can describe your user interface by […]
This is Part 6 of the android interview question series. This part will focus on Kotlin flows. 1. What is Flow? A stream of data that can be computed asynchronously is referred to as a Flow . It allows you to emit multiple values over time in a sequential and reactive manner. Some key characteristics […]
This is Part 5 of the android interview question series. This part will focus on Kotlin coroutines. 1. What are coroutines? Coroutine stands for cooperating functions. They provide a more efficient and readable way to handle asynchronous tasks. It is similar to a thread, in that it takes a block of code to run that […]
Scrolling is a fundamental element of any mobile app, and Jetpack Compose provides powerful tools to create smooth and efficient scrolling experiences. This article dives into the world of scroll in Compose, starting with the foundational concepts and gradually progressing towards more complex scenarios. Compose offers two workhorses for creating scrollable lists: LazyColumn for vertical […]
Next, we can see how to configure SonarQube in Android Studio Step 1: In app’s build.gradle, if we add SonarQube Plugin and other details like this allprojects {apply plugin: ‘org.sonarqube’sonar {properties {property “sonar.host.url”, “http://localhost:9000” property “sonar.test.inclusions”, “src/test/**”property ‘sonar.profile’, ‘Android Lint’property “sonar.sourceEncoding”, “UTF-8″property “sonar.projectName”, “SonarTestApp”property “sonar.projectKey”, “SonarTestKey”property “sonar.projectVersion”, 1.0.0property “sonar.login”, “sqp_123123kj123k123j123kj123j1k23k123jk132j”}}} we may get the following […]
I’ve continued my journey with Compose and Canvas! After exploring drawing and animating shapes, I wanted to learn more about text. Bi-visibility Day was coming, so I drew a small animation to publish on Instagram. The final animation looks like this: In this blog post, we will look at how to add text to Canvas […]