Quantcast
Channel: Android – Handstand Sam
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

When You Should Use Null in Kotlin

I was recently reviewing code with a developer that is learning Kotlin and they were adamant that: “You should never use null. Null is BAD.”  Null has got a bad rap.  Yes, it’s to be avoided in most...

View Article



Image may be NSFW.
Clik here to view.

“It Depends” Is The Answer To Your Android Question

I need to write a blog post called: “It depends” is the answer to every question in software. — Sam Edwards (@HandstandSam) March 9, 2019 Android Questions: Should I use Kotlin Multiplatform? “It...

View Article

Image may be NSFW.
Clik here to view.

Sharing Gradle Configuration in Multi-Module Android Projects

Using multiple modules in our Android projects help us split apart our code into logical components.  They also can enable faster incremental builds, and more modular code.  One problem with...

View Article

Image may be NSFW.
Clik here to view.

SQLDelight 1.x Quick Start Guide for Android

SQLDelight is most well known as a Kotlin multiplatform database library. As an Android Developer, the most compelling reasons to use SQLDelight are: Kotlin first SQL first Typesafe generated code Unit...

View Article

Image may be NSFW.
Clik here to view.

Android Biometrics UX Guide – User Messaging

Users Say: “Biometric…?” When I’ve demoed “Biometric” UIs to non-developers, many say: Why don’t you just say “Fingerprint” or “Face Unlock”? The reason is that the Biometric APIs have no way to find...

View Article


Image may be NSFW.
Clik here to view.

Android Device Mirroring and Recording

Mirroring and Recording what is on your physical Android Device to your computer isn’t trivial, but is an important skill to have as a developer. Being able to share and record what you see on your...

View Article

Image may be NSFW.
Clik here to view.

Unlocking Biometric Prompt – Fingerprint & Face Unlock

AndroidX Biometric gives us a single API for supporting Biometrics on Android devices via the BiometricPrompt, and a fallback Fingerprint dialog for API 23-27.  This post does a side-by-side comparison...

View Article

Organizing @Composables

I saved this post as a draft on February 23, 2021 and never published it. Almost 2 years later this topic came up again, so I want to publish it as a current post to create discussion on the topic....

View Article


[Experiment] Espresso Closed-Box Testing

I wanted to write some Android Espresso tests for a large application, but iterate on the tests as fast as possible. Typically someone would run :app:connectedDebugAndroidTest to run their...

View Article


Kotlin Sealed Interfaces with KotlinX Serialization JSON

I heavily use sealed interfaces to model result objects in Kotlin as they allow me to create a type of classes that can be handled using exhaustive when statements, similar to an enum, but also each...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images