In 2015, I wrote a post about sharing code between unit tests and instrumentation tests on Android. Iain Cunningham just pointed out that the method I outlined no longer works. That’s fine for me because I haven’t used that method in years! Nowadays I use modules, which provide a far superior method of solving the […]
For a long time at Trello Android, we used the same class for parsing API calls (via Gson), making DB transactions (via OrmLite), and displaying data in the UI. Here’s a pseudo-code-y example of a board: @DatabaseTable(tableName = “boards”) data class Board( @DatabaseField(columnName = “name”) @SerializedName(“BoardName”) private var boardName: String?, private var cards: List<Card>?, private […]
Android Backstage, a podcast by and for Android developers. Hosted by developers from the Android engineering team, this show covers topics of interest to Android programmers, with in-depth discussions and interviews with engineers on the Android team at Google. Subscribe to Android Developers YouTube → https://goo.gle/AndroidDevs Source link
While exploring how text paragraphs are rendered in Compose UI, I nerd sniped myself into porting squiggly underlines from Sam Ruston’s Buzzkill app. Sam’s animation was implemented using TextView custom spans, but Compose UI does not offer any alternatives for them yet. While our friends at Google are prototyping text modifiers (first, second), I figured […]
Android Backstage, a podcast by and for Android developers. Hosted by developers from the Android engineering team, this show covers topics of interest to Android programmers, with in-depth discussions and interviews with engineers on the Android team at Google. Subscribe to Android Developers YouTube → https://goo.gle/AndroidDevs Source link
Third-party iPhone apps scored significantly lower than their Android counterparts, according to an analysis of user reviews of 4,400 top mobile apps. This does not necessarily mean that Android offers better third-party software, though. iPhone users simply expect more from their apps. “The data shows iOS users are more critical of mobile apps than Android users […]
The global market for Android phones shrank considerably in the first quarter of 2022, even as iPhone shipments rose. Shipments from every major Android maker declined, from Samsung on down. Their combined drops were enough to reduce world smartphone shipments in Q1 by around 10%. iPhone sold well in Q1 2022 Quarterly shipment figures aren’t […]
It has been a hot minute since I posted about writing multi-module Lint rules so it’s time for a follow up. Today’s topic: suppressions! A quick recap of where we are: We have written a Lint rule that checks for usages of deprecated colours (including selectors) in XML files. The rule goes through all modules […]
Debates over the relative merits of iOS versus Android can go on forever, but there’s always been one area where Apple was way ahead: offering years of operating system upgrades. Not anymore. Samsung committed itself Wednesday to releasing four generations of Android OS updates for its high-end smartphones. And for its tablets, too. Samsung and […]
February 9 is expected to be an exciting one for Samsung. As it unfolds the Unpacked event with enthusiasm, there will be some devices we would be looking forward to. Of course, the Galaxy S22 flagship series is on everyone’s radar, if you’re someone waiting for a decent, feature-packed Android tablet, you should look out […]