Lint Me: Test Sources ποΈ
It has been a year, which means it is once again time to re-examine our TODO Lint rule.
Lint Revisit: Providing Alternatives π§ββοΈ
In my previous post, we updated our TODO Detector to be more flexible. It is also easily extensible so that if we want to include more parameters or perhaps add more checks, we can follow the existing pattern and modify it.
Lint Revisit: TODO Detector v2
A few years ago, I wrote about writing a Lint rule to validate the format of TODO comments. Whilst I find that
Lint is still difficult to grok, I have since learnt a little bit more that I feel a revisit of this rule is
warranted.
I Dub Thee⦠Marginally better at RegEx
Being a perpetual RegEx n00b, one thing I keep on forgetting is that it is easy to get tripped up when extracting information from an input.
Extended ADB: En Vogue π
Last year, I wrote about an extended adb script. The idea of the script is to make it really easy to issue an adb command even if there are multiple devices attached by presenting a chooser. For example, if I have two physical devices and an emulator and I want to use my deeplink alias, I get presented with a device chooser:
β ~ deeplink https://zarah.dev
Multiple devices found:
1 - R5CR7039LBJ
2 - 39030FDJH01460
3 - emulator-5554
Select device:
Extending an Interactive ADB π
A few weeks ago, I wrote about a script for making adb a little bit more interactive. The script makes the process of running an adb command much smoother if there are multiple devices attached by presenting a chooser. For example, when sending a deeplink:
β ~ deeplink https://zarah.dev
Multiple devices found:
1 - R5CR7039LBJ
2 - emulator-5554
3 - emulator-5556
Select device:
Making ADB a little bit dynamic π±
Android has a lot of tools for developers and one that has been around for as long as I can remember is Android Debug Bridge (adb). It allows you to issue commands to an attached device, such as installing an app or starting an Activity.
Bundling Things Nice and Pretty π
Of all the projects that I have worked on over the years, one thing they all have in common is the need to pass things around. Whether passing stuff to an Activity as Intent extras, a Fragment as arguments or its onSaveInstanceState, or even a ViewModelβs SavedStateHandle, the most common way to do it is through a Bundle.
Multi-module Lint Rules Follow Up: Suppressions β οΈ
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:
Debugging App Links in Android 12 π
I have been working with deeplinks lately and I noticed that quite a few things have changed since I last worked with them. The most important change is quoted in the list of Android 12 behaviour changes: