The Current Status of Test Fixtures Support in Android
Kotlin test fixtures in Android modules work since AGP 8.5, behind an experimental flag. How to enable them and how it differs from Kotlin modules.
Kotlin test fixtures in Android modules work since AGP 8.5, behind an experimental flag. How to enable them and how it differs from Kotlin modules.
Identical Gradle module names used to cause .kotlin_module collisions in Android apps. Why we stopped prefixing module names, and our fallback plans.
How a cheap pen tablet became a handy tool in my work as a software engineer: sketching ideas, annotating reviews and rediscovering the joy of drawing.
Configure Logback in code instead of XML in an Android app and send SLF4J logs to both Logcat and Firebase Crashlytics with custom appenders.
Why I chose SLF4J with Logback 1.3.x for an Android app after ruling out Timber, JUL, Log4j2 and the logback-android fork.
How to keep SLF4J logger class names readable in remote logs (Logstash, Kibana) when R8/ProGuard obfuscates an Android app
TL;DR version If you can’t find a library (Maven dependency) you need for your project after Bintray/JCenter (or another similar service) shutdown, but you still have it in your local Gradle cache, you can easily set up your own local Maven repository with that library as a replacement and keep the files for as long…
A few years ago Adam outlined 8 steps to keep your API sane in his blog post which I really recommend if you haven’t seen it yet. The second step there, “be liberal in what the app accepts”, is quite a specific one because it is applicable not only to the backend side of the…
I’ve recently come across a weird and totally unexpected issue while developing an Android app. I bet a lot of people may have enough luck to never notice it but if it finally happens to you and crashes your app, it’s quite hard to pinpoint the cause of the issue quickly if you don’t know…
In one of my previous posts I have described how to implement a ViewModel factory that was able to provide ViewModels with their dependencies injected, e.g. an API client, and it was good enough for me at that time. Later on, thanks to Piotr, we’ve found out even better and simpler approach with an additional…