submitted by /u/davidkonal [comments] Source link
I keep getting this message. There is also a blue message under MainActivity.kt which says Gradle project sync failed. Basic Functionality(e.g. editing, debugging) will not work properly. I need Urgent Help because I can't run code at all. submitted by /u/TheSystemizer [comments] Source link
In this article, you’ll learn how to use string resources inside ViewModel or any place you want, no matter what the source of the string is! We want to treat all strings in Android as equals, whether they’re from strings.xml , backend or user-created content. You’ll need an abstraction representing all of these values to […]
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 […]
In a recent blog post I took a look at the new Compose Preview Screenshot Testing Tool, provided by Google as a way to enable developers to easily write screenshot tests for their composable UI. When it comes to screenshot testing, writing these tests only represents one part of the process – we also need […]
As we migrate our apps to Jetpack Compose, we need to ensure that all existing functionality remains intact. This means that not only the way our UI looks, but the way that it behaves when users interact with it. When recently migrating part of an app to Jetpack Compose, I experienced a broken coordinator layout […]
At Google I/O 2024, one of the announcements that caught my eye was support for Compose Preview Screenshot Testing using the Compose Preview Screenshot Testing tool. Even though this is still in an experimental state, I couldn’t wait to dive in and have a play with this! My new book, CI/CD for Android using GitHub […]
As of Compose Foundation 1.7.0-alpha07, the ClickableText composable has been marked as deprecated, with plans for it to be removed come 1.8.0. ClickableText is often used to handle URLs within text – while the composable handles the click event, we are still required to manually provide styling attributes via annotated strings. To replace ClickableText, we […]
The Photo Picker allow us to reduce friction when working with Media selection on Android, along with creating a simpler + consistent experience for users. In this blog post, we’re going to take a quick look at how we can use it in our own apps – both in Composable UI and within activities/fragments. Looking […]
Many apps regularly release new versions to the Google Play Store – be it for new features, fixes or more urgent changes due to security or breaking changes. Even though many users have automatic updates enabled, we often see slow adoption for new app releases. Not only does this mean a delay in users seeing […]