Using the Jetpack Compose's VisualTransformation to create a credit card text inputIn this article we're going to look at how to create a fully-featured text edit field specifically for inputting credit card information. We're going to do this by leveraging the VisualTransformation mechanism of Jetpack Compose's TextField. The repo...Aug 12, 2021·5 min read·1.3K
The easy way to ask for runtime permissions: the PermissionDispatcher libraryIn this article I'm going to introduce my favourite way to handle permissions in Android, namely the PermissionDispatcher library. We're going to be looking at a simple example and hopefully illustrate why it is in my opinion the easiest way of reque...Nov 1, 2017·5 min read·57
Android Gesture Detection and Animations: creating a Swipe Button controlIn this article we're going to look at how to create a production-grade Swipe Button control that has the following features: tracks the finger with a transparent overlay supports flinging animates to a complete state moves right while swiping an...Oct 5, 2017·10 min read·251
How to improve performance of the Android Emulator on WindowsIn this article I'm going to share a quick tip about how to improve performance of the Android Emulator when running in Windows environment on a machine with a NVidia graphics card. What we are going to do is instruct the NVIDIA driver to use the GPU...Sep 6, 2017·2 min read·41
Testable and robust architecture for Android projectsIn this article we're going to have a look at my go-to architecture for consuming REST APIs in Android. I will describe the basic concept behind it, the components and the way they interact with each other. The aims of this architecture are: Simplic...Jul 7, 2017·8 min read·47
Adding the Support Library through MavenIn case you've missed it, at the last Google IO, Google announced that you can now add the Support Library directly from gradle without having to download the "support repository" anymore. This should come as good news to those of us who have to keep...Jun 19, 2017·1 min read·48
An evening of Firebase - event reviewI attended Skill Matter's meetup/talk titled 'An evening of Firebase' and I wanted to share with you (and future me) my mental notes from what was presented. The evening consisted of two talks: one held by Google's Laurence Moroney and another by Bee...Jun 16, 2017·5 min read·35