Posts — page 9 of 14
Reducing the deployment size of your JavaScript Azure Functions
I'm doing some Azure Functions development in JavaScript at the moment, using the new azure-functions-core-tools. One of the features it has is command line publication, like…
Mocking Android resources with Mockito and Kotlin
I bumped into an issue that was a little harder than I expected to solve, so this is the documentation. Requirement: Load a JSON file from the res/raw resource directory.…
Unit testing asynchronous Android network libraries
I'm writing a network library for Android at the moment, and specifically looking at unit tests. In my last article, I looking at mocking the Android context and other Android…
Two tips for unit testing Android libraries
I'm busy writing a networking library for one of my Android apps. The question today is "how do I properly test the library?" There are a few problem areas, and I'll cover two of…
Build a better RecyclerView Adapter
Many of my Android apps end up including listst, which are implemented via a RecyclerView. More importantly, I know all the items in the list ahead of time. Every single blog and…
Handle location and geocoding with SwiftUI
I'm continuing on my Weather app research in SwiftUI. My next problem is this: How do I get the current location (as a longitude / latitude) and a place (like a city) in my app…
Create a bubble background in SwiftUI
I'm continuing to explore SwiftUI, trying to recreate user interfaces that I see on design labs. The latest one is a task list app, found on Uplabs, and created by Rudi Hartano. I…
Why SwiftUI might just convert me to an iOS developer
Confession time. I hated iOS development. First, there was Objective-C (which was a nightmare of epic proportions for cryptic syntax), then there was the Storyboards. Both of them…
Deploying an Azure Function App with Terraform
You may have caught this from my previous blog posts, but I like automated deployments. I like something where I can run one command and magic happens, resulting in my whole…
Validating permissions on Android with Kotlin
I'm continuing my educational coding exercise, developing a new photo sharing app. Recently, I completed my user authentication and registration process and I'm now quite happy…