Jamie Craane personal blog

My views, thoughts and experiences about Fullstack software development.

AI Assistant Prompt Catalog

Collection of useful prompts for Jetbrains AI Assistant

This blog post provides a collection of powerful prompts for JetBrains AI Assistant, designed to boost productivity and simplify development tasks. Perfect for Kotlin developers, it demonstrates how to leverage AI effectively within JetBrains IDEs.

Integrating Firebase JWT token verification in Ktor - Part 1

Using Firebase authentication with Ktor

This blog post guides you through integrating Firebase JWT token verification in a Ktor server application, enhancing security by leveraging Firebase's authentication capabilities.

Jetpack Compose - Recompositions

Recompositions in Jetpack Compose

This post describes what Compose recomposition is and how to optimize your Compose code to minimize recompositions.

Standalone KMM Images

Using KMM Images in a standalone Android project

This post describes the benefits of using KMM Images in a standalone Android project.

Koin ViewModel Injection

Inject objects into Android ViewModel which depend on a CoroutineScope

This post describes various methods to use dependent objects in an Android ViewModel which depend on the viewModelScope.

KMM adoption strategies

Several strategies exist when adopting Kotlin Multiplatform Mobile

This post describes various strategies that can be used whena adopting KMM for native Android and iOS development.

Localized resources and images in KMM

Sharing localized string resources and images between iOS and Android in Kotlin Multiplatform Mobile

This post show how to add share localized resources and images between iOS and Android in KMM project.

Casting images with Chromecast

Android: example of how to cast images using the Chromecast SDK

This post show how to add basic support for casting images to a cast enabled receiver.

IntelliJ find and replace using regular expressions

IntelliJ: Examples of replacing text using Intellij find/replace with regular expressions

This post provides some example of using regular expressions with IntelliJ find and replace function.

Kotlin: Multi variable null check

Different ways of checking for not null with multiple variables

There are several patterns you can use to test for not null on multiple variables. This post describes different methods of null checking multiple variables in Kotlin.